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

Sentence: 'a person standing in the kitchen with an object in hand'. How many words contain the letter 't' in the sentence.
5

Sentence: 'an individual poses for a picture beside a bright window'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a dog with its tongue out in the snow'. How many words contain the letter 'd' in the sentence.

1