input: Write a function to count the number of words, characters, and sentences in a given text.
  assert count_words("The quick brown fox jumps over the lazy dog.") == 9
  assert count_characters("The quick brown fox jumps over the lazy dog.") == 44
  assert count_sentences("The quick brown fox jumps over the lazy dog.") == 2
  assert count_words("Hello World!") == 2
  assert count_characters("Hello World!") == 12
  assert count_sentences("Hello World!") == 1
output: import re
  
  def count_words(text):
      return len(text.split())
  
  def count_characters(text):
      return len(text)
  
  def count_sentences(text):
      sentence_endings = re.compile(r'[.!?]')
      return len(sentence_endings.findall(text)) + 1