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

Q: Sentence: 'a beautiful old clock tower in a citys historic district'. How many words contain the letter 'a' in the sentence.

A: 3
****
Q: Sentence: 'a small cat curled up sleeps on what appears to be a table'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'the sandwich is on wax paper on a tin foil plate'. How many words contain the letter 'n' in the sentence.

A:
4
****