public int countChildren() {
        int numChildren = children.size();
        return numChildren;
    }
Count this link's immediate children in the link hierarchy.

@return the count (&ge;0)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/PhysicsLink.java