Task: Program Execution
Input (English): Sentence: 'a seagull on a beach with a small boat and a truck in the background'. How many words end with the letter 'd' in the sentence.
Output (English): 2