input: Write a function to count words in a text and measure the time taken.
  assert count_words('This is a simple test')[0] == 5
  assert count_words('Another test with more words to count')[0] == 7
  assert count_words('One more for good measure')[0] == 5
output: import time
  
  def count_words(text):
      start_time = time.time()
      word_count = len(text.split())
      end_time = time.time()
      time_taken = end_time - start_time
      return word_count, time_taken