Input: Sentence: 'a man in a baseball cap and dog sitting on a pier'. How many words start with the letter 'a' in the sentence.
Output: 4