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

Sentence: 'a man in a restaurant makes the v sign with both hands'. How many words contain the letter 'n' in the sentence.
5

Sentence: 'a man rides a black motorcycle around a curve'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'the cat is waiting on the hood of the red car'. How many words contain the letter 'i' in the sentence.

2