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

Q: Sentence: 'a persons desk with a computer and many books in a case behind it'. How many words contain the letter 'd' in the sentence.

A: 3
****
Q: Sentence: 'a pizza pie is on a wooden serving tray'. How many words contain the letter 's' in the sentence.

A: 2
****
Q: Sentence: 'two young elephants play with a long and a tire in an enclosure'. How many words contain the letter 'a' in the sentence.

A:
6
****