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

Sentence: 'a group of bears sitting next to each other on a sidewalk'. How many words contain the letter 't' in the sentence.
4

Sentence: 'the children are playing on the beach next to the water'. How many words contain the letter 'h' in the sentence.
5

Sentence: 'a street sign reads steiner on the corner'. How many words contain the letter 'k' in the sentence.
0