code: @SuppressWarnings("rawtypes")
  	public static void incCounter(TaskInputOutputContext ctx, String groupName, Enum counter) {
  		ctx.getCounter(groupName, counter.toString()).increment(1);
  	}
docs: Utility for doing ctx.getCounter(groupName,
  counter.toString()).increment(1);