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

[EX Q]: Sentence: 'a man on a boat pets a dog in a life jacket'. How many words contain the letter 'b' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a batter sings his bat at a baseball game'. How many words contain the letter 'h' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a white plastic container filled with fruit and cakes'. How many words contain the letter 'd' in the sentence.
[EX A]:
2