Update counters for capturing parse errors