def incr(self, counter_name, delta=1):
    self.shard_context.incr(counter_name, delta)
See shard_context.count.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/map_job_context.py/SliceContext.incr