In this task, you need to count the number of words in a sentence that contain the given letter

Q: Sentence: 'some elephants in a field of grass near a tree'. How many words contain the letter 'k' in the sentence.

A: 0
****
Q: Sentence: 'green bananas or plantains hang in a bunch on a tree'. How many words contain the letter 'm' in the sentence.

A: 0
****
Q: Sentence: 'cat on desk sleeping with head on laptop computer'. How many words contain the letter 'd' in the sentence.

A:
2
****