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

Sentence: 'a basket that is full of fruits and vegetables'. How many words contain the letter 'v' in the sentence.
1

Sentence: 'someone is holding an orange and black iphone'. How many words contain the letter 'h' in the sentence.
2

Sentence: 'pair of shoes under a bed with a bin and bag'. How many words contain the letter 'k' in the sentence.

0