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 tabby cat under a white comforter and on top of a cream colored pillow'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'an overweight person stands next to a device in a field'. How many words contain the letter 'j' in the sentence.

0