In this task, you need to count the occurrences of the given word in the given sentence.

Sentence: 'a flat screen tv sitting in the corner of a living room next to a pumpkin'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a black horse standing on a hill top with a white horse'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a baseball game in progress with the batter in the middle of the swing'. Count the occurrences of the word 'the' in the given sentence.

3