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

Sentence: 'bus moving through parking lot in front of building'. How many words contain the letter 'g' in the sentence.
4

Sentence: 'a large elephant is walking by some bars'. How many words contain the letter 'v' in the sentence.
0

Sentence: 'an adult elephant and two baby elephants are in a lake'. How many words contain the letter 'd' in the sentence.

2