char count stuff