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

Sentence: 'a woman surfer is on an ocean wave'. How many words contain the letter 's' in the sentence.
2

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

Sentence: 'a room showing living room and fire in it'. How many words contain the letter 't' in the sentence.

1