added the possibility to get number of topics in a category