Zip.count
Get the number of entries in the zip archive.
Example
-- prints the total number of entries from a zip archive
import compression
-- check parameters : the archive specified as argument
local archive = arg[1] or error("no archive specified")
-- open the archive
local z = compression.Zip(archive)
-- z.count property is equivalent to #z
print(archive.." has a total of "..z.count.." entries")