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

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 silver truck a street a person and buildings'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a man leaning over a white laptop on a table'. How many words contain the letter 'x' in the sentence.

0