Task: Program Execution
Input (English): Sentence: 'a bathroom has a toilet a sink and a tub'. How many words end with the letter 'a' in the sentence.
Output (English): 4