I have a menu of all the categories for a link directory. However, when I display just the categories, I want to show how many links are in each category.

For example:

Flash (5)
HTML (19)
JavaScript (12)

What kind of query do I need to do to pull this info besides a subquery?