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

[Q]: Sentence: 'a man walking across a beach carrying a surfboard'. How many words contain the letter 'i' in the sentence.
[A]: 2


[Q]: Sentence: 'this is a portion of a painting showing a banana and an orange'. How many words contain the letter 't' in the sentence.
[A]: 3


[Q]: Sentence: 'a white plate topped with mostly eaten food'. How many words contain the letter 'g' in the sentence.
[A]:
0