switch to O(n.ln) NormalizeCount() algo, not O(n^2)

We can make it linear using select(), even  (TODO)