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

Q: Sentence: 'a name and clock lit up at night'. How many words contain the letter 'y' in the sentence.

A: 0
****
Q: Sentence: 'sitting room with couch and entertainment system in cabinets'. How many words contain the letter 'e' in the sentence.

A: 3
****
Q: Sentence: 'commode in small water closet with stone flooring and blue tinted glass and wood door'. How many words contain the letter 'o' in the sentence.

A:
6
****