changed get_node_count and get_relationship_count to order and size respectively