FAIMS-839 Fix file count issue