This conditional might be more readable if it were reversed. "If unique, do the unique count, otherwise do the normal count" reads better than "If not unique, do the normal count, otherwise do the unique count".