Task: Program Execution
Input (English): Sentence: 'a big bed with blue and white pillows on it'. How many words end with the letter 'g' in the sentence.
Output (English): 1