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

Sentence: 'five kids playing with frisbees on a sunny day'. How many words contain the letter 'p' in the sentence.
1

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

Sentence: 'a surfer is riding a wave and touching the water with his hand'. How many words contain the letter 't' in the sentence.

4