Task: Program Execution
Input (English): Sentence: 'trains stopped along a side walk near a building'. How many words end with the letter 'g' in the sentence.
Output (English): 2