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

Sentence: 'a group of people on skis on a snowy slope'. How many words contain the letter 'w' in the sentence.
1

Sentence: 'a teddy bear that is sitting up on the ground'. How many words contain the letter 'm' in the sentence.
0

Sentence: 'several people sitting a table in front of laptops'. How many words contain the letter 'i' in the sentence.

2