Task: Program Execution
Input (English): Sentence: 'two girls in bikinis riding horses on the beach'. How many words end with the letter 'g' in the sentence.
Output (English): 1