@digarg
Offloading search is not ideal, we would like to use the built-in capabilities of AEM's search. In our case, we created Predicategroup which would search all DAM assets tagged with a specific tag and used Bucket API to get the count. In author instance, i will only be able to select tags.
...