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: 'several people and a dog riding on a small boat'. How many words contain the letter 'l' in the sentence.
3

Sentence: 'a large black and gold clock with a statue on top'. How many words contain the letter 'o' in the sentence.

4