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 stuffed animal yellow giraffe placed next to a sandwich as if the giraffe is eating it with a large body of water and grass areas in the background'. How many words contain the letter 'g' in the sentence.
[A]: 6


[Q]: Sentence: 'a boat is docked in the water near other boats'. How many words contain the letter 'z' in the sentence.
[A]:
0