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

Sentence: 'an elephant stands in the grass near a tree'. How many words contain the letter 'c' in the sentence.
0

Sentence: 'a group of people cooking pancakes in the field'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'jockeys riding horses in a fast horse race'. How many words contain the letter 'b' in the sentence.

0