Task: Program Execution
Input (English): Sentence: 'two cats curled up on a messy bed'. How many words end with the letter 'a' in the sentence.
Output (English): 1