Note: This ticket needs a clearly defined task. Until then it is not ready for a backlog or to be pulled into scope for a project.
Taxonomy Count Performance Improvements
This goes back to a PR discussion that we considered out of scope for that PR.
Please refer to that PR first to understand the context - look at the comment linked here, and then the series of followup comments that discuss this.
Please feel free to fully change the title and the description of this issue.
openedx/openedx-core#506 (comment)_