Task: Program Execution
Input (English): Sentence: 'a green plastic chair sitting next to a wooden bench'. How many words end with the letter 'r' in the sentence.
Output (English): 1