Task: Program Execution
Input (English): Sentence: 'a long train traveling across a street near a forest'. How many words end with the letter 'a' in the sentence.
Output (English): 3