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 couple is fast asleep at 3 in the morning'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a dead end street near a fence and a bridge'. How many words contain the letter 'a' in the sentence.

6