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

Sentence: 'a black and white photo of a very crowded tropical beach'. How many words contain the letter 'p' in the sentence.
2

Sentence: 'a white biplane on grassy area next to buildings'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'a baby holding a spoon biting in to broccoli'. How many words contain the letter 'h' in the sentence.

1