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

Sentence: 'a man showing a piece of hardware he took apart'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a lit street light next to a bar'. How many words contain the letter 'w' in the sentence.
0

Sentence: 'bears laid out on the chair to look like theyve been drinking with wine glass and bottles'. How many words contain the letter 'l' in the sentence.
5