Add ability to do nested queries. Display number of rows processed.