Output number of children in a structure In my template I'm displaying all entries of a structure: ('areas').level(1) using a loop.

I would also like to display the number of children entries in each of the 'areas'.

Like: "Area 1, 4 properties", "Area 2, 7 properties", "Area 3, 5 properties" and so on.

Anyone?
If you want all the descendent too you can use:

{% set totalDescendents = entry.getDescendants().count() %}


https://buildwithcraft.com/docs/templating/entrymodel#getDescendants