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