I have this xml
<?xml version="1.0" encoding="UTF-8"?>
<Input>
<Properties>
<Type Name="Type1">
<Property NAME="Prop1"/>
<Property NAME="Prop2"/>
<Property NAME="Prop3"/>
</Type>
<Type Name="Type2">
<Property NAME="Prop4"/>
<Property NAME="Prop5"/>
</Type>
<Type Name="Type3">
<Property NAME="Prop6"/>
</Type>
<Type Name="Type4">
<Property NAME="Prop7"/>
<Property NAME="Prop8"/>
</Type>
<Type Name="Type5">
<Property NAME="Prop9"/>
</Type>
</Properties>
</Input>
I need to implement a counter using xslt that will give me the total Property count under all types (in this case 9 ). Can it be done in xslt?