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: 'a glass vase with clear glass marbles in it and purple flowers coming out of the vase'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a wooden deck lined with law chairs near the ocean'. How many words contain the letter 'i' in the sentence.

3