@Override
  public Long incrementCounter(String name) {
    return incrementCounter(name, 1L);
  }
Closes scope, and records the time taken
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleMetrics.java