input: Write a function to count the occurrences of each word in a given text string and return the results as a dictionary where the keys are the words and the values are the counts of those words.
  
  Input:
  A quick brown fox jumps over the lazy dog
  
  Function:
  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("The quick brown fox jumps over the lazy dog") == {'The': 1, 'quick': 1, 'brown': 1, 'fox': 1, 'jumps': 1, 'over': 1, 'the': 2, 'lazy': 1, 'dog': 1}
  assert words_count("") == {}
  assert words_count("a a a a a") == {'a': 5}
  assert words_count("one two three four five") == {'one': 1, 'two': 1, 'three': 1, 'four': 1, 'five': 1}
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