Task: Program Execution
Input (English): Sentence: 'a small living room with a recliner a chair and a sofa'. How many words end with the letter 'r' in the sentence.
Output (English): 2