code: def get_categories(context, template='zinnia/tags/categories.html'):
      
      return {'template': template,
              'categories': Category.published.all().annotate(
                  count_entries_published=Count('entries')),
              'context_category': context.get('category')}
docs: Return the published categories.