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

Sentence: 'a smiling man holds out a card with color swatches'. How many words contain the letter 'i' in the sentence.
2

Sentence: 'group of kids play frisbee golf in the middle of the woods'. How many words contain the letter 't' in the sentence.
2

Sentence: 'a black puppy is on its back on a white bed'. How many words contain the letter 'd' in the sentence.

1