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

Sentence: 'the jet is flying through the sky during the day'. How many words contain the letter 'i' in the sentence.
3

Sentence: 'a person that is wearing glasses looking into a mirror'. How many words contain the letter 'f' in the sentence.
0

Sentence: 'a yellow train is currently stopped at the tracks'. How many words contain the letter 'o' in the sentence.

2