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

Sentence: 'a couple of lambs that are in the dirt'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a man and a woman stand under an umbrella'. How many words contain the letter 's' in the sentence.
1

Sentence: 'a man on a snowboard doing a trick on a rail'. How many words contain the letter 'f' in the sentence.

0