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: 'man and woman posing for picture before prom'. How many words contain the letter 'c' in the sentence.
1

Sentence: 'three ladies and a man sitting in a room with drinks on the tabletwo of them playing video games'. How many words contain the letter 'f' in the sentence.

1