Task: Program Execution
Input (English): Sentence: 'the black bears are sleeping on the ground near the fence'. How many words end with the letter 'g' in the sentence.
Output (English): 1