FIX counters in xmlCheck