Get the number of rows in a table into a given variable

int rowcount;

ts_table(TableDescr1,"get_rows_count", rowcount);