Task: Program Execution
Input (English): Sentence: 'a herd of sheep grazing in a pasture'. How many words end with the letter 'p' in the sentence.
Output (English): 1