Task: Program Execution
Input (English): Sentence: 'a cat lays on the arm of a couch as if watching tv'. How many words end with the letter 'a' in the sentence.
Output (English): 2