Q: In this task, you need to count the occurrences of the given word in the given sentence.
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