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

Sentence: 'a man with baskets of goods stands next to his bicycle'. How many words contain the letter 'r' in the sentence.
0

Sentence: 'a large herd of farm animals are with a cowboy'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a black and white photo of a union station with a clock'. How many words contain the letter 'r' in the sentence.

0