Added ability to get top num nodes via clustering.