Task: Program Execution
Input (English): Sentence: 'a room with a table and chairs next to a window'. How many words end with the letter 'd' in the sentence.
Output (English): 1