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

Sentence: 'a white longheaired dog eating a birthday cake'. How many words contain the letter 'z' in the sentence.
0

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

Sentence: 'an elephant curling its trunk behind a wire fence'. How many words contain the letter 'm' in the sentence.

0