TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man on a snowboard who is performing a trick'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a red and a white train cab on a rusty train track'. Count the occurrences of the word 'rusty' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man is sitting at a table with plates and peanut butter and jelly and lemon slices are on the table'. Count the occurrences of the word 'and' in the given sentence.

SOLUTION:
3