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

Q: Sentence: 'a hotel room with a nice tv and sofa setup'. How many words contain the letter 'i' in the sentence.

A: 2
****
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: 'broccolli and chicken dinner poked at with a fork'. How many words contain the letter 'r' in the sentence.

A:
3
****