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

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

[EX Q]: Sentence: 'a woman is riding a wave on a surfboard'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'a bird flying over the beach as a wave hits the rocks'. Count the occurrences of the word 'the' in the given sentence.
[EX A]:
2