repaired number of cells counter