dumperd, update counter to select distinct matherials and colors