add unrelated tx count check