Maybe you easily said how to I provide table names and row counts?
Pseudo SQL:
for \"select tablename from system.Tables\" into :tablename execute \"se
SELECT t.NAME AS TableName, p.[Rows] FROM sys.tables t INNER JOIN sys.partitions p ON t.object_id = p.OBJECT_ID GROUP BY t.NAME, p.[Rows] ORDER BY t.NAME