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

Sentence: 'a cat is laying in a piece of luggage'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a sign asking for witnesses is posted in front of a destroyed home'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'two sheep are standing on some short grass'. How many words contain the letter 'l' in the sentence.

0