Fix a bug that divide_idle_node() corrupts a doubly linked list.
Add a missing #include.
Add grnxx::Storage::num_nodes().
Add a test for grnxx::Storage::num_nodes().