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

Sentence: 'a man in a pitching pose with a glove near  another man with a glove'. Count the occurrences of the word 'a' in the given sentence.
4

Sentence: 'a man playing baseball slides into home near the catcher'. Count the occurrences of the word 'the' in the given sentence.
1

Sentence: 'a white and black horse with a black horse behind it'. Count the occurrences of the word 'horse' in the given sentence.

2