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

Sentence: 'a picture of some horses and a person in the street'. How many words contain the letter 'r' in the sentence.
4

Sentence: 'a woman standing in the dirt looking up at an elephant'. How many words contain the letter 'b' in the sentence.
0

Sentence: 'a desk cluttered with paper and things and a laptop that is on'. How many words contain the letter 'e' in the sentence.

3