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 young man dressed like a pirate on a skateboard'. How many words contain the letter 'a' in the sentence.
6

Sentence: 'a baseball player warming up for the bat'. How many words contain the letter 'k' in the sentence.

0