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

Sentence: 'a kitchen in a camp with gear and coats laid out'. How many words contain the letter 'i' in the sentence.
4

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

Sentence: 'two men are playing a video game while on the couch'. How many words contain the letter 'x' in the sentence.

0