Task: Program Execution
Input (English): Sentence: 'a black bear is eating red berries by some grass'. How many words end with the letter 'd' in the sentence.
Output (English): 1