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

Sentence: 'a man in a helmet leans on his motorcycle'. How many words contain the letter 'n' in the sentence.
4

Sentence: 'a young person flying through the air while riding a skateboard'. How many words contain the letter 'd' in the sentence.
2

Sentence: 'a baseball player has just hit a baseball'. How many words contain the letter 'g' in the sentence.

0