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

Sentence: 'a little girl sitting on the floor reading a book'. How many words contain the letter 'n' in the sentence.
3

Sentence: 'a white cat looking in a rectangular mirror in a female bedroom'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'a group of flags flying in the wind on the side of the road'. How many words contain the letter 'o' in the sentence.

5