2 new codes had been added to the Export Templates and the GetOrderDetails API method.
They are:
[ITEM_COLORCOUNT] - ITEM: Number of used colors (incl. BGcolor)
[SIDES_COLORCOUNT] - SIDE: Number of used colors (incl. BGcolor)
As you can imagine, for both ITEM and SIDE sections, these fields returns the number of unique colors used.
The SIDES version will return only the number of colors used on the specific side;
The ITEM version will return the higher value of the SIDES values.
Enjoy!