Create Count the nodes of a multiway tree