You need to increment it for each line that matche...
# suitescript
m
You need to increment it for each line that matches the condition (
totalIncludedLines++
)