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

Sentence: 'a soldier holds something for a young bear'. How many words contain the letter 'a' in the sentence.
3

Sentence: 'green bananas or plantains hang in a bunch on a tree'. How many words contain the letter 'm' in the sentence.
0

Sentence: 'a little boy and girl sitting at a table eating some food'. How many words contain the letter 'a' in the sentence.

6