input: Write a python function to count the number of words in a sentence.
  assert count_words("I am learning Python") == 4
  assert count_words("Python is amazing") == 3
  assert count_words("This is a test sentence") == 5
output: def count_words(sentence):
      return len(sentence.split())