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

Sentence: 'an elephant stands in the grass near a tree'. How many words contain the letter 'c' in the sentence.
0

Sentence: 'a motorcycle parked in front of a small cafe'. How many words contain the letter 'n' in the sentence.
2

Sentence: 'several kites being flown on a wide beach'. How many words contain the letter 'y' in the sentence.
0