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