undo bad fix. track number of colors seen