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 name and clock lit up at night'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'the clock tower is on a medium of the neighborhood street'. How many words contain the letter 'p' in the sentence.

0