Adding a way to count exceptions in single file loader processes