ClassIcons: update number of icons for each class