Task: Program Execution
Input (English): Sentence: 'a herd of cattle grazing on top of a grass covered field'. How many words end with the letter 'd' in the sentence.
Output (English): 3