Task: Program Execution
Input (English): Sentence: 'a bed in a room with a chair and a window'. How many words end with the letter 'a' in the sentence.
Output (English): 4