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 bird is standing on the edge of a book'. How many words contain the letter 'o' in the sentence.
3

Sentence: 'there is a receipt in a tray of food'. How many words contain the letter 'x' in the sentence.

0