return number of nodes
create post order