Task: Program Execution
Input (English): Sentence: 'a cat laying on a cart next to a hydrant'. How many words end with the letter 'a' in the sentence.
Output (English): 3