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

Q: Sentence: 'two stuffed pandas near a small shack near a body of water'. How many words contain the letter 'g' in the sentence.

A: 0
****
Q: Sentence: 'a jet airliner carrying a small shuttle above it'. How many words contain the letter 'r' in the sentence.

A: 2
****
Q: Sentence: 'a passenger train in motion on the train tracks'. How many words contain the letter 'i' in the sentence.

A:
4
****