Task: Program Execution
Input (English): Sentence: 'the boat at port  is painted with its name in portuguese'. How many words end with the letter 'd' in the sentence.
Output (English): 1