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

Sentence: 'the boy is in batting stance to waiting'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'an old airplane sitting on top of a field'. How many words contain the letter 'h' in the sentence.
0

Sentence: 'a couple of giraffe standing near some trees'. How many words contain the letter 'y' in the sentence.

0