Task: Program Execution
Input (English): Sentence: 'a bed is in a bedroom with two lamps on nightstands'. How many words end with the letter 'a' in the sentence.
Output (English): 2