TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a slice of pizza that is sitting on a plate on a table'. Count the occurrences of the word 'slice' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'some baseball players on a field playing baseball'. Count the occurrences of the word 'playing' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a little green train engine pulling some cars'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
1