input: Write a function to count the number of words in a sentence.
  assert count_words("This is an example string.") == 5
  assert count_words("Hello world!") == 2
  assert count_words("Python is fun.") == 3
output: def count_words(sentence):
      return len(sentence.split())