count the #nodes == 1000