add statistics for gzip compression