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

Sentence: 'people fly kites and relax at a crowded sunlit beach'. How many words contain the letter 'l' in the sentence.
4

Sentence: 'a picture of some horses and a person in the street'. How many words contain the letter 'r' in the sentence.
4

Sentence: 'an elephant standing near rocks and a fence'. How many words contain the letter 'q' in the sentence.

0