Task: Program Execution
Input (English): Sentence: 'a bird with red area around its eye sitting in a tree'. How many words end with the letter 'g' in the sentence.
Output (English): 1