The current cells count (used for display), is not correctly calculated for duplicate entries

UI issue only. The visible cell count will be displayed as a higher number than the scanned cells, when it should be less than or equal to the scanned cells. I made sure the two values were calculated in the same fashion.