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

Q: Sentence: 'the train needs to be serviced so it is o the truck'. How many words contain the letter 'n' in the sentence.

A: 2
****
Q: Sentence: 'a box filled with fresh fruit and vegetables'. How many words contain the letter 'w' in the sentence.

A: 1
****
Q: Sentence: 'skier on a hill overlooking a pine forest'. How many words contain the letter 'd' in the sentence.

A:
0
****