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

Sentence: 'a tabby cat under a white comforter and on top of a cream colored pillow'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'living room that has boxes packed for moving'. How many words contain the letter 'u' in the sentence.
0

Sentence: 'a few benches that are near a tree and in front of water'. How many words contain the letter 'n' in the sentence.
5