character counters deadlock