in fbtftp/base_server.py [0:0]
def get_counter(self, name):
"""
Get a counter value by name. Do not use this method if you have to
reset a counter after getting it. Use `get_and_reset_counter` instead.
Args:
name (str): the counter
Returns:
int: the value of the counter
"""
return self._counters[name]