The avast scan if you have archive being scanned, unpacks these archives to be able to scan the contents, so avast counts the total for the contents of archives not just the compressed size of archives.