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

Sentence: 'a cellphone mounted to a dashboard of a car'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a tabby cat rests on a suitcase set on the floor in a room'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'a dog lying on a bed in a small bedroom'. How many words contain the letter 'f' in the sentence.

0