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

Sentence: 'a construction worker smashes away at the roof of a building'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'a clean kitchen with several cabinets a sink a coffee maker and a vase of flowers'. How many words contain the letter 'p' in the sentence.
0

Sentence: 'a hot dog and french fries on a red table'. How many words contain the letter 'n' in the sentence.

3