Added progress update for the dupes analyzing step

Also:
* removed unused imports
* replaced counters with calls to enumerate