Task: Program Execution
Input (English): Sentence: 'two pieces of luggage sitting next to a pair of red shoes'. How many words end with the letter 'g' in the sentence.
Output (English): 1