[#21] Add helper function for categories links

It gets the count for each category so we can know if there are datasets
for each one and tweak the UI accordingly. Returns a list of dicts like:

{'name': 'intelligenceMilitary',
 'title': 'Intelligence / Military',
 'short_title': 'Intelligence',
 'count': 3}