I have the code above in a DWT and what I need is to put in the "X" the number of elements that I have. So the final TemplateRepeatIndex + 1 and it should be in the DWT if it is possible.
Does anyone have an idea?
Thanks in advance.
<ul data-orbit="" class="adapt-story-slider orbit-slides-container" style="height: 521px;">
<!-- TemplateBeginRepeat name="Component.Fields.decoratedGames" -->
<li data-orbit-slide="headline-@@TemplateRepeatIndex@@"
</li>
<!-- TemplateEndRepeat -->
</ul>
<div class="orbit-slide-number">
<span>1</span> of <span> **X** </span>
</div>