diff --git a/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig b/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
index 2c9bdf90d645e56d9c15b3affa6c5ab982d2d025..70fbadaa56b9aeb32f6d5c38529dbedaf8dd9dcd 100644
--- a/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
+++ b/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
@@ -1,4 +1,18 @@
-{% for data in node_data %}
+{% set new_node_data = [] %}
+
+{% for nd in node_data %}
+
+  {% set new_node_data = new_node_data|merge([
+    nd|merge({
+      '#uw_index': loop.index,
+      '#uw_row_count': rows|length
+    })
+  ]) %}
+
+{% endfor %}
+
+{% for data in new_node_data %}
+
   <div class="views-row">
     {% include '@components/card/card--teaser/_card--teaser.twig' with {
       'teaser': data,