>>17418455It looks like I have 4589 duplicate akari images in the main images folder so I have around 15145 to 17439 akari images.
If I simply subtracted 19733 - 4589 then that would be wrong since if I dedupe the images I would have one unique image still so It would be underestimating the amount of unique images I have.
Example:
Assume you have a list like this
[ 1 1 1 2 2 3 3 3 3 4 5 6 7 ]
If I want to get the duplicate numbers I would get something like this:
[ 1 1 1 1 2 2 3 3 3 3 ]
So if I subtract the elements of each it would only give me
[ 4 5 6 7 ] but deduping them would give me
[ 1 2 3 4 5 6 7] So I would be underestimating the amount of images I have by 3.
The scenario with the biggest list after deduping would be if every duplicate image only had 1 other duplicate, the shortest list would be if every duplicate was equal to each other. In the former case you would have
length all elements list - (length duplicate element list / 2)
and in the latter case you would have
length all elements list - length duplicate element list + 1
as the answer