Two options:
-
Check !csvReadMaxRow variable
-
Or read the CSV file into an array with
csvReadArray
- then you can apply Javascript code onto the array. You can use this to count the rows with JS “array length” operator and do more fancy stuff like to mark a CSV line as processed