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

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

Sentence: 'a person in the air on skis on a mountain slope'. How many words contain the letter 'w' in the sentence.
0

Sentence: 'a large truck full of wood is parked on a street'. How many words contain the letter 'c' in the sentence.

1