I have a Structure section with an ordered number of entries under a parent. On each entry I would like to add a status message of the user's current progress... i.e. You are on page 1 of 5 pages.
The total was easy...
{% set total = entry.getParent(entry).getDescendants().count() %}
How do I get the current page (child) number within the total number of children.
Thanks!