select count(1) from pg_class group by oid;