public int size() {
        return this.metrics.size();
    }
Returns the size of the metrics covered. Note that this might also contain expired metrics.
metrics-proxy/src/main/java/ai/vespa/metricsproxy/metric/Metrics.java