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

Sentence: 'person standing in the grass striking a baseball with a bat'. How many words contain the letter 's' in the sentence.
5

Sentence: 'a person that is fixing a pillow on a couch'. How many words contain the letter 's' in the sentence.
2

Sentence: 'two men on horseback and a man with carrots feeding the horses'. How many words contain the letter 'u' in the sentence.

0