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

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

Sentence: 'a cat lying on an open laptop that is on a bed'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a counter top that has many pots and ingredients on it'. How many words contain the letter 'b' in the sentence.

0