input: Write a function that takes in a text string and returns a dictionary of words and the number of times each word appears in the text string. If the text string is empty, return an empty dictionary. If the text includes punctuation, treat the punctuation as part of the word.
  def words_count(text):
      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("Hello Hello World") == {'Hello': 2, 'World': 1}
  assert words_count("This is a test. This is only a test.") == {'This': 2, 'is': 2, 'a': 2, 'test.': 1, 'only': 1, 'test': 1}
  assert words_count("The the the quick quick brown brown brown fox fox fox fox") == {'The': 1, 'the': 3, 'quick': 2, 'brown': 3, 'fox': 4}
output: def words_count(text):
      words_dict = {}
      for word in text.split():
          if word in words_dict:
              words_dict[word] += 1
          else:
              words_dict[word] = 1
      return words_dict