Task: Program Execution
Input (English): Sentence: 'a batter is taking a swing at the ball'. How many words end with the letter 'a' in the sentence.
Output (English): 2