Scanning inside of the archives needs to unpack them first - which takes a lot of time.

Why do you think anything like that happens?

As already explained - when you selected the archives to be scanned, their content is scanned (and counted) in addition to the real files. So, the actual amount of scanned data may be much bigger (even much more than 20GB in 13GB of real files).