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

Sentence: 'this is a yellow train riding the rails'. How many words contain the letter 'n' in the sentence.
2

Sentence: 'the street corner is flooded deep with water'. How many words contain the letter 'f' in the sentence.
1

Sentence: 'he is skiing around a really sharp curve'. How many words contain the letter 'w' in the sentence.

0