The counters for categories were not updated when filter values were selected. This commit fixes that situation. This might impact the global performances of the search panel but there is still room for improvement. Actually, it could be possible to reload categories and filters less often by carefully track the internal changes and the categories/filters attributes (enable counters, expand,...). closes odoo/odoo#49307 Related: odoo/enterprise#9795 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>