@Override
    public Optional<RegionObserver> getRegionObserver() {
      return Optional.of(this);
    }
Use a coprocessor to count puts and deletes. as KVs would be replicated back with the same
timestamp there is otherwise no way to count them.
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java