Task: Program Execution
Input (English): Sentence: 'a dog looks up at a counter holding a plate holding cheese and knife'. How many words end with the letter 'g' in the sentence.
Output (English): 3