You should initialize the `totalIncludedLines` bef...
# suitescript
s
You should initialize the
totalIncludedLines
before the for loop and do an increment inside the if condition just as @michoel stated. If you want to get the values of which line passes the condition, you can declare an array and push the value of 'i' to that array.