Task: Program Execution
Input (English): Sentence: 'a purple teddy bear laying in a bad with a book in its hands'. How many words end with the letter 'd' in the sentence.
Output (English): 1