Task: Program Execution
Input (English): Sentence: 'a child holding a flowered umbrella and petting a yak'. How many words end with the letter 'd' in the sentence.
Output (English): 3