Task: Program Execution
Input (English): Sentence: 'two girls compete in a game involving a frisbee'. How many words end with the letter 'g' in the sentence.
Output (English): 1