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

[Q]: Sentence: 'a man rides a black motorcycle around a curve'. How many words contain the letter 'y' in the sentence.
[A]: 1


[Q]: Sentence: 'a plate has many different types of food on it'. How many words contain the letter 'r' in the sentence.
[A]: 1


[Q]: Sentence: 'baseball scene batter completing swing with fans in background'. How many words contain the letter 'a' in the sentence.
[A]:
4