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: 'a wooden bench sits leveled straight on a slanted ground'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a close up of a person swimming in a body of water'. How many words contain the letter 'z' in the sentence.

0