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

[Q]: Sentence: 'a man wearing a striped tie and a hat'. How many words contain the letter 'h' in the sentence.
[A]: 1


[Q]: Sentence: 'a pair of people swimming out to sea on some surfboards'. How many words contain the letter 'j' in the sentence.
[A]: 0


[Q]: Sentence: 'a living room that has  a lit fireplace'. How many words contain the letter 'i' in the sentence.
[A]:
3