counting duplicate files now closer