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

Sentence: 'a giraffe walking in the grass near a building'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a cat sitting on the arm of a chair'. How many words contain the letter 'g' in the sentence.
1

Sentence: 'a man near the water holding a cell phone'. How many words contain the letter 'v' in the sentence.

0