from my previous question: http://stackoverflow.com/questions/1947026/multiple-results-in-a-single-call
how would I get the count of all articles in a given category?
I prefer criteria query if possible (would love it if you could show me how to do it in both criteria and hql)