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 man sitting holding a drink with pizzas on the table'. How many words contain the letter 'k' in the sentence.

A: 1
****
Q: Sentence: 'a large herd of cows being led down the road by people'. How many words contain the letter 'r' in the sentence.

A:
3
****