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: 'a young person flying through the air while riding a skateboard'. How many words contain the letter 'd' in the sentence.

A: 2
****
Q: Sentence: 'top portion of a train as seen through a mirror on a pole'. How many words contain the letter 'g' in the sentence.

A:
1
****