added event counter for hr violations