input: Write a python function to count the number of words in a string.
  assert word_count("Hello world") == 2
  assert word_count("This is a test sentence.") == 5
  assert word_count("Another example here!") == 3
output: def word_count(s):
      return len(s.split())