In newpin, ensure digit count isn't exceeded.