Add file count check after the ingest of a file.