We have a requirement to tag internal assets (code artifacts ...) which are found within the intranet, so that it can be searched with ease later on.
We would like to show the count of assets tagged by a certain tag name (much similar to http://stackoverflow.com/tags). I would like to understand if this count is measured dynamically when a user visits this page or is it rendered from a tag_count table which contains information about the tag and the number of entries associated with it (Note: the assumption is that this tag_count table is updated on a periodic basis with the number of tags associated with an asset asynchronously).
What would be the preferred approach to solve the above problem, if the number of assets is in the range of 10's of thousands?