Task: Program Execution
Input (English): Sentence: 'a bed in a room and some food'. How many words end with the letter 'd' in the sentence.
Output (English): 3