class LookoutRegistryMetricReader implements MetricReader, MetricRegistryListener {

    @Override
    public long count() {
        Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry
            .iterator();
        long count = 0;
        while (iterator.hasNext()) {
            iterator.next();
            count++;
        }
        return count;
    }

    public  LookoutRegistryMetricReader(SpringBootActuatorRegistry springBootActuatorRegistry);

}