code: public static Counter newCounter(String name, TaggingContext context) {
      final MonitorConfig config = MonitorConfig.builder(name).build();
      return new ContextualCounter(config, context, COUNTER_FUNCTION);
    }
docs: Create a new counter with a name and context. The returned counter will maintain separate
  sub-monitors for each distinct set of tags returned from the context on an update operation.