Hi,
Assuming this is used as a data file and assuming you have resolved to the Funds node you should be able to just call Funds.nodes.length.
e.g.
var Funds = xfa.datasets.data.resolveNode ("pathToFundsNode");
if ( Funds.nodes.length > 0)
{
// Funds has children nodes;
}
Hope this helps
Malcolm