Task: Program Execution
Input (English): Sentence: 'a guy on a surf board riding a wave'. How many words end with the letter 'g' in the sentence.
Output (English): 1