Task: Program Execution
Input (English): Sentence: 'the zebra is confined within the wire fence'. How many words end with the letter 'd' in the sentence.
Output (English): 1