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

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

Sentence: 'a woman in a wheelchair is about to play tennis'. How many words contain the letter 'r' in the sentence.
1

Sentence: 'a man sits on a bench in the park'. How many words contain the letter 'r' in the sentence.

1