Update find least common value in a set of arrays