using the following: source = API.initSource('myextract'); count = 0; while (source.nextRow()) { count++; } this would be great to have a method to get the rowcount directly, e.g.: count = source.rowCount(); if I want toto iterate over the source ...