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

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 woman riding a motorcycle down a busy city street'. How many words contain the letter 'w' in the sentence.
2

Sentence: 'a large advertisement with a bull hangs on the side of a building'. How many words contain the letter 'g' in the sentence.

3