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: 'the beach has six open umbrellas on poles'. How many words contain the letter 'g' in the sentence.

A: 0
****
Q: Sentence: 'a white car is shown on a computer monitor'. How many words contain the letter 'v' in the sentence.

A:
0
****