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

Sentence: 'a laptop a table a mouse some dirt and water'. How many words contain the letter 'u' in the sentence.
1

Sentence: 'a table with two different pizzas on it'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'two kids with steering wheels playing a game'. How many words contain the letter 'g' in the sentence.

3