improved character count analyser for botlang