Task: Program Execution
Input (English): Sentence: 'a child holds a toy in their bed'. How many words end with the letter 'a' in the sentence.
Output (English): 2