resets current count to zero if counter > total lines. ONLY FOR STAGING/NEVER PROD