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

Q: Sentence: 'an older fighter plan sitting next to a group military men'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'a small cat curled up sleeps on what appears to be a table'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'two giraffes are neck to neck in an enclosure'. How many words contain the letter 'o' in the sentence.

A:
3
****