Task: Program Execution
Input (English): Sentence: 'a number of animals on a field with trees'. How many words end with the letter 'r' in the sentence.
Output (English): 1