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 child next to a bunch of bananas and an orange'. How many words contain the letter 'p' in the sentence.

A: 0
****
Q: Sentence: 'the train has stopped on the railroad tracks'. How many words contain the letter 'n' in the sentence.

A:
2
****