@Override
    public Optional<RegionServerObserver> getRegionServerObserver() {
      return Optional.of(this);
    }
This is the Counter metric object to keep track of the current count across invocations
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorMetrics.java