input: 
  def words_count(text: str) -> dict:
      """
      Creates a dictionary of words and the number of times each word appears in the given text string.
      
      >>> words_dict = words_count("A quick brown fox jumps over the lazy dog")
      >>> print(words_dict)
      {'A': 1, 'quick': 1, 'brown': 1, 'fox': 1, 'jumps': 1, 'over': 1, 'the': 1, 'lazy': 1, 'dog': 1}
      """
  
output:     words_dict = {}
      words = text.split()
      for word in words:
          if word in words_dict:
              words_dict[word] += 1
          else:
              words_dict[word] = 1
      return words_dict