Automatically adjusting doc counts

Would it be possible to make the doc counts next to the notebooks and tags shown in the sidebar change in response to searches? For example, if I search for all documents containing "Milwaukee" and 100 docs are found, the counts would adjust to show how many documents containing that word appear in each notebook and how many are assigned to different tags. In the same way, if I click on a notebook, the tag numbers would adjust to show the results for documents only in that notebook, or if I click on the tag, the numbers would show how many documents assigned to that tag are assigned to other tags or are in the different notebooks. This feature would be useful in showing how search results are distributed and when there are overlaps between tags.