Added count to categories

- Added field to keep track of packages under category. Closes #2