code: async def get_chat_members_count(self, chat_id: typing.Union[base.Integer, base.String]) -> base.Integer:
          
          payload = generate_payload(**locals())
  
          result = await self.request(api.Methods.GET_CHAT_MEMBERS_COUNT, payload)
          return result
docs: Use this method to get the number of members in a chat.
  
          Source: https://core.telegram.org/bots/api#getchatmemberscount
  
          :param chat_id: Unique identifier for the target chat or username of the target supergroup or channel
          :type chat_id: :obj:`typing.Union[base.Integer, base.String]`
          :return: Returns Int on success
          :rtype: :obj:`base.Integer`