Task: Program Execution
Input (English): Sentence: 'a baseball player swinging a bat at a ball'. How many words end with the letter 'r' in the sentence.
Output (English): 1