Task: Program Execution
Input (English): Sentence: 'a service truck charging the battery on a car'. How many words end with the letter 'r' in the sentence.
Output (English): 1