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

Sentence: 'a green blue and yellow boat sitting in a harbor'. How many words contain the letter 'o' in the sentence.
3

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

Sentence: 'a young man poses next to a zebra in a grassy wildlife exhibit'. How many words contain the letter 't' in the sentence.

3