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

Sentence: 'a pig in a make shift shelter being watched by a cat'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'one man playing the wii by his lonesome'. Count the occurrences of the word 'by' in the given sentence.
1

Sentence: 'the two children are taking candles off of the cake'. Count the occurrences of the word 'the' in the given sentence.

2