TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man and boy blow out a candle on a birthday cake'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a woman plays frisbee with her dog in the snow'. Count the occurrences of the word 'plays' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a giraffe near the post with a person in a blue shirt'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3