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 man holding a frisbee above a crowd of young men'. How many words contain the letter 'i' in the sentence.
2

Sentence: 'a man in all black standing and staring'. How many words contain the letter 'y' in the sentence.

0