fixed token count processing in not-yet-stable situations