Task: Program Execution
Input (English): Sentence: 'a long haired cat sitting on a colorful bed'. How many words end with the letter 'a' in the sentence.
Output (English): 2