Task: Program Execution
Input (English): Sentence: 'a portrait of a small bird perched on a tree'. How many words end with the letter 'a' in the sentence.
Output (English): 3