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

Input: Consider Input: Sentence: 'a woman on a court swinging a tennis racket'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a batter waits for the next pitch during a baseball game'. Count the occurrences of the word 'a' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a young male with tatoos is in midair on top of his skateboard'. Count the occurrences of the word 'on' in the given sentence.
Output: 1