Task: Program Execution
Input (English): Sentence: 'a train passing over a lake on a bridge'. How many words end with the letter 'a' in the sentence.
Output (English): 3