Add invalid packets counter.