How can you sort taxonomy terms based on number of times used, in a view? I'm creating a view that lists the top 10 most popular taxonomy terms (tags). Currently I have the view returning all the terms and I can limit the view to 10 but I can't work out how to order the terms by popularity (i.e. number of times used across all nodes).

Anyone have experience of this?
Create a new view
limit to taxonomies "show taxonomies of term all"
Add a relationship "Taxonomy term: Content with term"
Use aggregation
Add field "Content: Title"
Aggregation type "Count"
Change label to something like "number of times used"
Add Sort criteria "Content: Title"
Aggregation type "Count"
Sort to whatever you like


it should look like this: