Task: Program Execution
Input (English): Sentence: 'an image of cake on top of a counter'. How many words end with the letter 'r' in the sentence.
Output (English): 1