input: Write a function to count the number of words in a given text.
  assert count_words("Hello world, this is a test") == 6
  assert count_words("Python is great for data science.") == 6
  assert count_words("Hi") == 1
output: def count_words(text):
      return len(text.split())