def _get_message_count(self, sub: str) -> int:
    attributes = self._get_attributes(sub, self.ATTRIBUTE_NAMES)
    return int(attributes[self.ATTRIBUTE_NAMES[0]])
def _get_message_count(self, sub: str) -> int:
    attributes = self._get_attributes(sub, self.ATTRIBUTE_NAMES)
    return int(attributes[self.ATTRIBUTE_NAMES[0]])