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

Sentence: 'fresh daisies in a rectangular green glass vase'. How many words contain the letter 's' in the sentence.
4

Sentence: 'a couple of lambs that are in the dirt'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a man leans over as he skates down a road'. How many words contain the letter 'i' in the sentence.

0