Task: Program Execution
Input (English): Sentence: 'a pot pit on a plate with a large side of butter and a beer sitting on the table top'. How many words end with the letter 'g' in the sentence.
Output (English): 1