I am basically building a blog, so i started with the template. I have added a Categories content type and have added a field to the post content type to associate them with the reference field option. So i can now see the Categories in the blog posts (in the JSON result).
Is there a way i can get the categories with the count of the number of posts that are associated without doing some crazy loops in c# and looping over the categories, then getting the pages where the category contain the category name?
Thanks for the help in advance