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

Q: Sentence: 'a kitchen with hard wood floors and a stove top oven'. How many words contain the letter 'g' in the sentence.

A: 0
****
Q: Sentence: 'five sheep out in an open field eating straw'. How many words contain the letter 'd' in the sentence.

A: 1
****
Q: Sentence: 'a cat sitting on the arm of a chair'. How many words contain the letter 'g' in the sentence.

A:
1
****