input: Write a function to count the number of words in a given string.
  assert count_words("This is a sentence with five words.") == 6
  assert count_words("Hello world!") == 2
  assert count_words("Python programming is fun.") == 4
output: def count_words(s):
      return len(s.split())