Task: Program Execution
Input (English): Sentence: 'a living room has couches and chairs as well as a fireplace'. How many words end with the letter 'd' in the sentence.
Output (English): 1