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

Sentence: 'a pair of people swimming out to sea on some surfboards'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'some zebras dirt plants and bushes'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'a little boy and girl laying down on a bed'. How many words contain the letter 'e' in the sentence.

2