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

[EX Q]: Sentence: 'a bird is standing on the edge of a book'. How many words contain the letter 'o' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a zebra is standing in the shallow water'. How many words contain the letter 't' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a baseball player swings his bat at a pitch'. How many words contain the letter 'g' in the sentence.
[EX A]:
1