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

[EX Q]: Sentence: 'the black bears are together on the rocks eating outside'. How many words contain the letter 'y' in the sentence.
[EX A]: 0

[EX Q]: Sentence: 'ther e is a commuter train that is coming on the tracks'. How many words contain the letter 'r' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'abandoned bicycle lying on railroad tracks on a road'. How many words contain the letter 'i' in the sentence.
[EX A]:
3