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

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 clock in the middle of a building'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'man pulling suitcase down long flight of steps'. How many words contain the letter 'g' in the sentence.

A:
3
****