Found a simpler solution using link_integrity_events_counter attribute on the request obj