add character count and other refinements