code: def _update_dictionary(self):
          
          self._total_words = sum(self._dictionary.values())
          self._unique_words = len(self._dictionary.keys())
          self._letters = set()
          for key in self._dictionary:
              self._letters.update(key)
docs: Update the word frequency object