{% load helpers %} {{ body_content_table_verbose_name_plural|bettertitle }} {% if related_changes_count > 0 %} {% comment %} Add 1 since current record is excluded from count but included in list {% endcomment %} {{ related_changes_count|add:1 }} {% else %} 0 {% endif %}