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

Sentence: 'a man sits beside large bags of fruit in a market'. How many words contain the letter 't' in the sentence.
3

Sentence: 'a white sand beach with chairs umbrellas and people'. How many words contain the letter 't' in the sentence.
2

Sentence: 'a brown and black and white bear some grass and dirt'. How many words contain the letter 'c' in the sentence.

1