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

Sentence: 'snow boarder in midflight inverted with a steep snowy slope in the background'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'a young man dressed like a pirate on a skateboard'. How many words contain the letter 'a' in the sentence.
6

Sentence: 'expensive headphones resting between two white and black laptops'. How many words contain the letter 'p' in the sentence.

3