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

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

A: 3
****
Q: Sentence: 'a orange cat sleeping on top of a blanket'. Count the occurrences of the word 'blanket' in the given sentence.

A: 1
****
Q: Sentence: 'a golden colored shar pei dog and a dog of indescribable heritage sitting on dog bed'. Count the occurrences of the word 'dog' in the given sentence.

A:
3
****