An estimating model for the number of node accesses in NN search