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 toilet sits in the middle of a street'. How many words contain the letter 'b' in the sentence.
0

Sentence: 'a man on a snow board doing a trick in the air'. How many words contain the letter 'b' in the sentence.
1