Task: Program Execution
Input (English): Sentence: 'a room with a lamp a couch a red rug and some books'. How many words end with the letter 'a' in the sentence.
Output (English): 4