def METHOD_NAME(self, counter, name):
    if isinstance(counter, PortCounter):
        name_map = "COUNTERS_PORT_NAME_MAP"
    else:
        return False, ()
    key = self.db.hget(name_map, name)
    return True, tuple(self.db.METHOD_NAME("COUNTERS:" + key).items())