def countZipFileChunks(filename, chunksize):
 totalchunks = 0
 zf = ChunkingZipFile(filename)
 for info in zf.infolist():
  totalchunks += countFileChunks(info, chunksize)
 return totalchunks

def countZipFileChunks ( filename , chunksize ) : totalchunks = 0 zf = ChunkingZipFile ( filename ) for info in zf . infolist ( ) : totalchunks += countFileChunks ( info , chunksize ) return totalchunks
predict the number of chunks that will be extracted from the entire zipfile .