Add getchildrencount to Node.