Task: Program Execution
Input (English): Sentence: 'some giraffes dirt trees fence and a building'. How many words end with the letter 'd' in the sentence.
Output (English): 1