In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a black cat with a red tag sitting down with a bookshelf in the background'. Count the occurrences of the word 'a' in the given sentence.