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

Sentence: 'a man that is sitting on a horse in the grass'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a bird flying over the water in the ocean shore'. How many words contain the letter 'o' in the sentence.
3

Sentence: 'a person in a bare field flying a big white kite'. How many words contain the letter 'p' in the sentence.

1