Remove unnecessary ROOT reads to print number of entries in the file.