Fix bug where count wasn't told if the file was gzipped.