How to count how many articles belongs which category?
|Added at||2016-12-25 17:12|
I have this relationships:
CATEGORY have translations
In articles i have category id, also in translations i have category_id. So how can i count how many articles have each category. Any suggestion?
I tried this but always get 0 for all of categories