@Override
    public void record(final MetricConfig config, final double value, final long timeMs) {
        super.record(config, 1, timeMs);
    }
A non-sampled version of {@link WindowedCount} maintained over all time.

This is a special kind of {@link CumulativeSum} that always records {@code 1} instead of the provided value.
In other words, it counts the number of
{@link CumulativeCount#record(MetricConfig, double, long)} invocations,
instead of summing the recorded values.
clients/src/main/java/org/apache/kafka/common/metrics/stats/CumulativeCount.java