Task: Program Execution
Input (English): Sentence: 'a cactus in a pot next to a black fence'. How many words end with the letter 'a' in the sentence.
Output (English): 3