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

Sentence: 'a bird flying over the water in the ocean shore'. How many words contain the letter 'o' in the sentence.
3

Sentence: 'a group of people standing together talking '. How many words contain the letter 'b' in the sentence.
0

Sentence: 'a pizza sits on the table with pepperoni cheese ricotta cheese and topped with greens'. How many words contain the letter 'q' in the sentence.

0