code: def blog_authors(*args):
      
      blog_posts = BlogPost.objects.published()
      authors = User.objects.filter(blogposts__in=blog_posts)
      return list(authors.annotate(post_count=Count("blogposts")))
docs: Put a list of authors (users) for blog posts into the template context.