lexmin: allow emptiness check through counting