Here's a sample query to pull the number of rows, indexes, and some info about those indexes for each table. Ditch the pg_size_pretty if you’re on an ancient (<= 8.2) version)
SELECT pg_class.relname, pg_size_pretty(pg_class.reltuples::bigint) AS rows_in_bytes, pg_class.reltuples AS num_rows,count(indexname) AS number_of_indexes,CASEWHEN x.is_unique =1THEN'Y'ELSE'N'ENDASUNIQUE,SUM(caseWHEN number_of_columns =1THEN1ELSE0END) AS single_column,SUM(caseWHEN number_of_columns ISNULLTHEN0WHEN number_of_columns =1THEN0ELSE1END) AS multi_columnFROM pg_namespace LEFT OUTER JOIN pg_class ON pg_namespace.oid = pg_class.relnamespaceLEFT OUTER JOIN (SELECT indrelid,max(CAST(indisunique ASinteger)) AS is_uniqueFROM pg_indexGROUP BY indrelid) xON pg_class.oid = x.indrelidLEFT OUTER JOIN ( SELECT c.relname AS ctablename, ipg.relname AS indexname, x.indnatts AS number_of_columns FROM pg_index xJOIN pg_class c ON c.oid = x.indrelidJOIN pg_class ipg ON ipg.oid = x.indexrelid )AS fooON pg_class.relname = foo.ctablenameWHERE pg_namespace.nspname='public'AND pg_class.relkind ='r'GROUP BY pg_class.relname, pg_class.reltuples, x.is_uniqueORDER BY2;