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

Sentence: 'a microwaved broccoli and cheese dish and a spoon'. How many words contain the letter 'n' in the sentence.
3

Sentence: 'five kids playing with frisbees on a sunny day'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'two elephants charging each other in the brush'. How many words contain the letter 'd' in the sentence.

0