ERPNext Web Template - How to show category list with count of blog post
{% for post in frappe.get_all("Blog Post", fields=["blog_category"], order_by="published_on desc", limit=6) %}
{{ post.blog_category }}
{% endfor %}