1👍
✅
The bellow queryset should do the job:
authors = Blog.objects.values('author__picture').annotate(posts=Count('author')).order_by('-posts')[:6]
Source:stackexchange.com