Task: Program Execution
Input (English): Sentence: 'a black dog and a brown and black dog with a jacket'. How many words end with the letter 'd' in the sentence.
Output (English): 2