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

Sentence: 'the bathroom has a shower toilet toilet paper and a sink with leaves in it'. How many words contain the letter 'v' in the sentence.
1

Sentence: 'a picture of bottles and cans in someones kitchen'. How many words contain the letter 'c' in the sentence.
3

Sentence: 'a man that is in the dirt with a baseball bat'. How many words contain the letter 'o' in the sentence.

0