Search: changed the logic by removing event to update tags count dynamically