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

Sentence: 'a teddy bear laying on a pillow on a bed'. How many words contain the letter 'w' in the sentence.
1

Sentence: 'a young man dressed as a nun skateboards down the street'. How many words contain the letter 'e' in the sentence.
4

Sentence: 'a person is in the air on a pair of skis'. How many words contain the letter 'k' in the sentence.

1