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

Sentence: 'a man in a helmet leans on his motorcycle'. How many words contain the letter 'n' in the sentence.
4

Sentence: 'people holding a surfboard and walking down the beach'. How many words contain the letter 'n' in the sentence.
4

Sentence: 'a bathroom with a toilet sink and white towels hanging on the towel racks'. How many words contain the letter 'v' in the sentence.

0