Returns the number of records a process has processed so far.
script.getRecordsProcessed()
None
let count = script.getRecordsProcessed();