Task: Program Execution
Input (English): Sentence: 'a living room with a couch table and a glass door'. How many words end with the letter 'r' in the sentence.
Output (English): 1