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

Sentence: 'a picture of bottles and cans in someones kitchen'. How many words contain the letter 'c' in the sentence.
3

Sentence: 'a couple of zebras are standing in a pin'. How many words contain the letter 'a' in the sentence.
5

Sentence: 'a picture of a horse on a sandy beach with waves hitting the shore'. How many words contain the letter 'g' in the sentence.

1