[INS-410] Added batch token detector (#4824)