n_cells function

Get the number of cells in a Quadtree