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

Sentence: 'a herd of giraffe grazing from a feeder'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a glass vase with clear glass marbles in it and purple flowers coming out of the vase'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a man with large sunglasses has a sandwich'. How many words contain the letter 't' in the sentence.

1