Task: Program Execution
Input (English): Sentence: 'a train at a train station with a group of people standing beside it'. How many words end with the letter 'g' in the sentence.
Output (English): 1