It&#x27;s possible with the ORM, but much more complicated than the SQL you intend to get:<p>AppComment.objects.annotate(content_len=Length(&#x27;content&#x27;)).all().aggregate(Sum(&#x27;content_len&#x27;))<p><a href="https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;1.9&#x2F;ref&#x2F;models&#x2F;expressions&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;1.9&#x2F;ref&#x2F;models&#x2F;expressions...</a>