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

Sentence: 'a pile of stuffed brown teddy bears wearing clothing'. How many words contain the letter 'w' in the sentence.
2

Sentence: 'horses standing and laying down in the grass on a hill above a lake'. How many words contain the letter 'g' in the sentence.
3

Sentence: 'window display of a suit and sewing machine'. How many words contain the letter 't' in the sentence.

1