{# Element Stats Component Renders stats (counts of children by type) for a DocElement. Uses the get_element_stats filter to extract and format stats. Receives from parent context: - element: DocElement with children to count Example: {% include 'partials/page-hero/_element-stats.html' %} #} {% set stats = element | get_element_stats %} {% if stats %}