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

Q: Sentence: 'five sheep out in an open field eating straw'. How many words contain the letter 'd' in the sentence.

A: 1
****
Q: Sentence: 'a beautiful old clock tower in a citys historic district'. How many words contain the letter 'a' in the sentence.

A: 3
****
Q: Sentence: 'skateboarded preforming a trick in front of a crowd of people'. How many words contain the letter 'p' in the sentence.

A:
2
****