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

Sentence: 'a man herding brown colored animals with a dog'. How many words contain the letter 'z' in the sentence.
0

Sentence: 'a young boy holds a baseball bat while a man stands next to him'. How many words contain the letter 'p' in the sentence.
0

Sentence: 'a stone building with a clock at the front of it'. How many words contain the letter 'g' in the sentence.
1