rework count fix