input: Write a function to count the number of words in a given text.
  assert count_words("Hello world!") == 2
  assert count_words("This is a simple test.") == 5
  assert count_words("Python programming is fun.") == 4
output: def count_words(text):
      return len(text.split())