code: def count(self, token_list):
          '''
          Count the number of tokens in `token_list`.
          
          Args:
              token_list:    The list of tokens.
  
          Returns:
              {token: the numbers}
          '''
          token_dict = {}
          for token in token_list:
              if token in token_dict:
                  token_dict[token] += 1
              else:
                  token_dict[token] = 1
          return token_dicf count(self, token_list):
          '''
          Count the number of tokens in `token_list`.
          
          Args:
              token_list:    The list of tokens.
  
          Returns:
              {token: the numbers}
          '''
          token_dict = {}
          for token in token_list:
              if token in token_dict:
                  token_dict[token] += 1
              else:
                  token_dict[token] = 1
          return token_dict
docs: Count the number of tokens in `token_list`.
          
          Args:
              token_list:    The list of tokens.
  
          Returns:
              {token: the numbers}