input: Write a python function to count the number of words in a given text.
  assert count_words("Python is a powerful, open-source programming language.") == 6
  assert count_words("It is free to use and popularly used for scripting and automation.") == 10
  assert count_words("Readability of code and simplicity of syntax.") == 6
output: def count_words(text):
      return len(text.split())