sort table names in tspawn command.
add findCount() into classes generated by tspawn.