input: Write a python function to calculate the number of words in a given text.
  assert calculate_words_in_text("Hello world") == 2
  assert calculate_words_in_text("This is a test sentence.") == 5
  assert calculate_words_in_text("") == 0
output: def calculate_words_in_text(text):
      return len(text.split())