helper function counting victims before move