input: Write a function that takes in a text string and returns a dictionary containing each unique word in the string as a key and the number of times that word appears as its value. Return the dictionary with all counts initialized to zero if the input string is empty.
  
  def words_count(text):
      words_dict = {}
      if text == "":
          return words_dict
      for word in text.split():
          if word in words_dict:
              words_dict[word] += 1
          else:
              words_dict[word] = 1
      return words_dict
  
  assert words_count("A quick brown fox jumps over the lazy dog") == {"A": 1, "quick": 1, "brown": 1, "fox": 1, "jumps": 1, "over": 1, "the": 1, "lazy": 1, "dog": 1}
  assert words_count("") == {}
  assert words_count("the the the") == {"the": 3}
  assert words_count("a b a c b") == {"a": 2, "b": 2, "c": 1}
output: def words_count(text):
      words_dict = {}
      if text == "":
          return words_dict
      for word in text.split():
          if word in words_dict:
              words_dict[word] += 1
          else:
              words_dict[word] = 1
      return words_dict