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

Sentence: 'man and woman posing for picture before prom'. How many words contain the letter 'c' in the sentence.
1

Sentence: 'a man with a long coat and a hat skating on the road'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'a man and a woman walking under an umbrella on a sidewalk'. How many words contain the letter 'p' in the sentence.

0