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

Sentence: 'a woman smiling for the camera while on a boat'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a man herding brown colored animals with a dog'. How many words contain the letter 'z' in the sentence.
0

Sentence: 'a view of someones shoes hanging on the power lines in the city'. How many words contain the letter 'b' in the sentence.

0