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

Sentence: 'two cakes on a table with a piece missing out of one'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a crowd of people flying kites near the capitol building'. How many words contain the letter 'a' in the sentence.
3

Sentence: 'there is a male baseball player that is at bat'. How many words contain the letter 'p' in the sentence.

1