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

Sentence: 'a college student throws a frisbee in a field'. How many words contain the letter 't' in the sentence.
2

Sentence: 'people holding a surfboard and walking down the beach'. How many words contain the letter 'n' in the sentence.
4

Sentence: 'a herd of cattle grazing on a lush grass covered field'. How many words contain the letter 'm' in the sentence.

0