Task: Program Execution
Input (English): Sentence: 'a painting displays a table with fruit and a flower vase'. How many words end with the letter 'd' in the sentence.
Output (English): 1