Task: Program Execution
Input (English): Sentence: 'a man sits in a chair and pets a furry dog'. How many words end with the letter 'a' in the sentence.
Output (English): 3