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

Sentence: 'a man riding a snowboard down the side of a snow covered slope'. How many words contain the letter 'c' in the sentence.
1

Sentence: 'several ties hang from a bar in a closet'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'two triangles of french toast sitting on a plate with syrup'. How many words contain the letter 'p' in the sentence.

2