Task: Program Execution
Input (English): Sentence: 'many elephants in  field of green grass near trees'. How many words end with the letter 'r' in the sentence.
Output (English): 1