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

Sentence: 'an acoustic guitar is shown laying on a bed'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'a group of men sitting by tables working on laptops'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a sandwich and a fork on a plate'. How many words contain the letter 'y' in the sentence.

0