def counter(self, counter_name, default=0):
    return self._state.counters_map.get(counter_name, default)
Get the current counter value.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/map_job_context.py/ShardContext.counter