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

Sentence: 'a herd of goats look at a dog through a fence'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a orange cat sleeping on top of a blanket'. Count the occurrences of the word 'blanket' in the given sentence.
1

Sentence: 'a tan building with a clock next to trees'. Count the occurrences of the word 'a' in the given sentence.

2