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: 'someone is holding an orange and black iphone'. How many words contain the letter 'h' in the sentence.
2

Sentence: 'a mattress is placed on a wooden floor next to a television and shoes'. How many words contain the letter 't' in the sentence.

4