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

Sentence: 'a horse and a donkey stand in a fenced field'. How many words contain the letter 'd' in the sentence.
5

Sentence: 'a little baby boy wearing an vest and tie'. How many words contain the letter 'e' in the sentence.
4

Sentence: 'a person crossing the street in front an orange trolley while holding a garbage bag'. How many words contain the letter 'j' in the sentence.
0