Task: Program Execution
Input (English): Sentence: 'a dog chewing on an old ball in the yard'. How many words end with the letter 'd' in the sentence.
Output (English): 2