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

Sentence: 'a clock tower next to a building in a city'. How many words contain the letter 'a' in the sentence.
3

Sentence: 'five kids playing with frisbees on a sunny day'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'three ladies stand outside with umbrellas in their hands'. How many words contain the letter 'y' in the sentence.

0