What is the django template tag to get the number of items returned in a result set? September 6, 2023 by Tarik You can use the template filter length: {{ articles|length }} will display the length of articles list.