Given a paragraph, count how many sentences there are and how many words in each sentence.
A sentence is denoted by a ? or . or ! at the end.
A word has a space before it and possibly a space after it or one of the sentence terminators listed above.
Write an algorithm to determine how many sentences are in a given paragraph and how many words exist in each sentence.