Rank search with partialCount