In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'an assortment of neckties all with various colors and patterns'. Count the occurrences of the word 'colors' in the given sentence.