'Get current counter value.
Args:
counter_name: counter name as string.
Returns:
current counter value as int. 0 if counter was not set.'

def get(self, counter_name):

    return self.counters.get(counter_name, 0)
