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

Sentence: 'a man in a white turban drives a motorcycle along a dirty road'. How many words contain the letter 'd' in the sentence.
3

Sentence: 'a man and a woman sitting in the backseat as the woman talks on a cell phone'. How many words contain the letter 's' in the sentence.
4

Sentence: 'a man holding a box while a person wearing a red jacket hands them an umbrella'. How many words contain the letter 'r' in the sentence.

4