Task: Program Execution
Input (English): Sentence: 'two cats curled up sleeping on a beige bedspread'. How many words end with the letter 'g' in the sentence.
Output (English): 1