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

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

[EX Q]: Sentence: 'this is a yellow train riding the rails'. How many words contain the letter 'n' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a clock being displayed on top of a steel frame'. How many words contain the letter 'x' in the sentence.
[EX A]:
0