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

Sentence: 'a child is lighting candles on a cake'. How many words contain the letter 't' in the sentence.
1

Sentence: 'the tall giraffes are communicating with each other by the tree'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'a small living room with windows sofas and a coffee table'. How many words contain the letter 't' in the sentence.

2