Doing a `search_count` on millions of records could be very slow. On large databases, the pager counter "1-80 / 8000000" could take several seconds just to get the total number of records. This commit limits the counter in list and kanban views to 10k records, and shows "1-80 / 10000+" if the limit is reached. If you click on 10000+, it updates with the real count (or if you go up to 10000 with pager or input value). The search_count on res.partner of odoo.com takes 4s. With this patch, it will take ~20ms. Task 2761165 closes odoo/odoo#95642 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Damien Bouvy <dbo@odoo.com>