Search: Implemented updating the resource tags count dynamically