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

[Q]: Sentence: 'a woman working her small shared office cubicle'. How many words contain the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'several ties hang from a bar in a closet'. How many words contain the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'there is a small kitten that has fallen asleep on the bed'. How many words contain the letter 'a' in the sentence.
[A]:
6