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

Sentence: 'two giraffe a mom and baby both with their heads up'. How many words contain the letter 'w' in the sentence.
2

Sentence: 'some zebras dirt plants and bushes'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'a pizza with sauce cheese and sausage sitting on a table'. How many words contain the letter 's' in the sentence.

4