Task: Program Execution
Input (English): Sentence: 'a variety of doughnuts are labeled with their flavors'. How many words end with the letter 'd' in the sentence.
Output (English): 1