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

Sentence: 'a small terrier stands in the open suitcase ready to go'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'this is a yellow train riding the rails'. How many words contain the letter 'n' in the sentence.
2

Sentence: 'a large orange cat sitting in a white glass bowl'. How many words contain the letter 'r' in the sentence.
2