public override int nClasses() { if (CharClass.HrLenet != IntPtr.Zero) return CharClass.Classes.Length + (PGeti("junk")>0 && !DisableJunk ? 1 : 0); // plus one for junk else return 0; }