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

Sentence: 'two males and a drink a laptop and a cellphone'. How many words contain the letter 'b' in the sentence.
0

Sentence: 'a person resting on a bench outside a furniture store'. How many words contain the letter 'e' in the sentence.
6

Sentence: 'cat sitting on top of the refrigerator that is covered in notes and magnets'. How many words contain the letter 'd' in the sentence.

2