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

Sentence: 'a group of bears sitting next to each other on a sidewalk'. How many words contain the letter 't' in the sentence.
4

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

Sentence: 'the woman smiles while skiing with a companion'. How many words contain the letter 't' in the sentence.

2

