select t2.oid is not null is_not_null, count(*) cnt from v_internal.vs_view_tables t1 left join vs_schemata t2 ON reference_schema_id = oid group by 1 order by 2 desc;
is_not_null|cnt | -----------|----| false |6337| true | 923|
for this reason, incorrect - view_tables