Task: Program Execution
Input (English): Sentence: 'the woman wearing a coat stands near sheep behind a fence'. How many words end with the letter 'd' in the sentence.
Output (English): 1