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

Q: Sentence: 'two giraffes with their heads in the tree'. How many words contain the letter 'o' in the sentence.

A: 1
****
Q: Sentence: 'a man sits on a bench with a dog in lap reading'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'two buses on a city street near some building'. How many words contain the letter 'g' in the sentence.

A:
1
****