code: public static void incr(String counterName) {
      org.apache.heron.api.metric.GlobalMetrics.incr(counterName);
    }
docs: Not thread safe increment of counterName. Counter doesn't exist unless incremented once