code: def count(self, strg, case_sensitive=False, *args, **kwargs):
      
      if not case_sensitive:
          return [word.lower() for word in self].count(strg.lower(), *args,
                  **kwargs)
      return self._collection.count(strg, *args, **kwargs)
docs: Get the count of a word or phrase `s` within this WordList.
      :param strg: The string to count.
      :param case_sensitive: A boolean, whether or not the search is case-sensitive.