It’s too inefficient (requires a whole table scan) to do a query like: select count(*) from discussions where [conditions determining visibility]