v.20.4Bug Fix
Remove Trivial Count Query Optimization with Row-Level Security
Remove trivial count query optimization if row-level security is set. In previous versions the user get total count of records in a table instead filtered. This fixes #11352. #11644 (alexey-milovidov).