cleaned up the semnatics of next-char-factory (removed bogus-count)