Task: Program Execution
Input (English): Sentence: 'a group of horses standing behind a barbed wire fence'. How many words end with the letter 'd' in the sentence.
Output (English): 2