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

Q: Sentence: 'two giraffe a mom and baby both with their heads up'. How many words contain the letter 'w' in the sentence.

A: 2
****
Q: Sentence: 'a cat in a tie sits on the couch'. How many words contain the letter 't' in the sentence.

A: 4
****
Q: Sentence: 'i see a pan with vegetables in it'. How many words contain the letter 'i' in the sentence.

A:
4
****