Task: Program Execution
Input (English): Sentence: 'a small girl is on the beach near a kite'. How many words end with the letter 'r' in the sentence.
Output (English): 1