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

Sentence: 'a group of kids are participating in a swim class'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'pair of one kind of birds and another bird perched on a railing'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'a misty green painting of birds on a tree branch before the ruins of a castle'. How many words contain the letter 'z' in the sentence.

0