Input: Sentence: 'a person in a hat is sitting on the ground petting a dog'. How many words start with the letter 'p' in the sentence.
Output: 2