TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a pig in a make shift shelter being watched by a cat'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a boy holding onto a wii mote by a fireplace'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'three urinals with lots of big tile pieces on the wall'. Count the occurrences of the word 'pieces' in the given sentence.

SOLUTION:
1