I have a long list of tables / views, and I just need a count of the records and the name of the object being queried, for example...
SELECT COUNT(*), TableOrViewName FROM TableOrView
UNION ALL
SELECT COUNT(*), TableOrViewName FROM TableOrView
UNION ALL
SELECT COUNT(*), TableOrViewName FROM TableOrView