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

Q: Sentence: 'a young man wearing a red tie sitting next to a cat'. How many words contain the letter 'h' in the sentence.

A: 0
****
Q: Sentence: 'a keyboard on a table with a toothbrush a book some sunglasses and coffee'. How many words contain the letter 'e' in the sentence.

A: 5
****
Q: Sentence: 'a person sitting in front of a laptop computer wearing glasses'. How many words contain the letter 'y' in the sentence.

A:
0
****