docs: def reduce_list_of_bags_of_words(list_of_keyword_sets):
      """
      Reduces a number of keyword sets to a bag-of-words.
  
      Input:  - list_of_keyword_sets: This is a python list of sets of strings.
  
      Output: - bag_of_words: This is the corresponding multi-set or bag-of-words, in the form of a python dictionary.
      """
      bag_of_words = dict()
      get_bag_of_words_keys = bag_of_words.keys
      for keyword_set in list_of_keyword_sets:
          for keyword in keyword_set:
              if keyword in get_bag_of_words_keys():
                  bag_of_words[keyword] += 1
              else:
                  bag_of_words[keyword] = 1
  
      return bag_of_words