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

Q: Sentence: 'a surfer in a black wet suit riding a wave in the ocean'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'a white biplane on grassy area next to buildings'. How many words contain the letter 'g' in the sentence.

A: 2
****
Q: Sentence: 'a girl laying on top of  a white bed reading a book'. How many words contain the letter 'e' in the sentence.

A:
3
****