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

Sentence: 'a man walking with rolling luggage and many bags'. How many words contain the letter 'g' in the sentence.
4

Sentence: 'man in blue shirt hitting a tennis ball back'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'two people riding in a horse drawn carriage down the road'. How many words contain the letter 'o' in the sentence.

5