Add count_nodes to bintree