Task: Program Execution
Input (English): Sentence: 'a herd of brown cows standing in a field behind a wire fence'. How many words end with the letter 'g' in the sentence.
Output (English): 1