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

[EX Q]: Sentence: 'a baseball player holding a bat while playing a game'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'a brown dog sitting in front of a tv in a room'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'three adult giraffe stand near water in the woods'. Count the occurrences of the word 'water' in the given sentence.
[EX A]:
1