Corrected check mode to only check overall counts for the specific file