move inter/ERROR to inter/COUNT and allow assigning counter name