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

Sentence: 'two cakes on a table with a piece missing out of one'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a kitchen filled with appliances and furniture next to windows'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a massive wooden ship beached on snow covered ground'. How many words contain the letter 'y' in the sentence.

0