input: Write a function to count the number of words in a sentence.
  assert word_count("I am writing this code to practice") == 7
  assert word_count("This is a test sentence") == 5
  assert word_count("Python is awesome") == 3
output: def word_count(sentence):
      return len(sentence.split())