xpath How many children does Goku have?


Example

XML

<Goku>
    <child name="Gohan"/>
    <child name="Goten"/>
</Goku>

XPATH

count(/Goku/child)

OUTPUT

2.0