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

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


[Q]: Sentence: 'a man with baskets of goods stands next to his bicycle'. How many words contain the letter 'r' in the sentence.
[A]: 0


[Q]: Sentence: 'a stop sign attached to a wood post stands in front of some flowers'. How many words contain the letter 'd' in the sentence.
[A]:
3