If a player is instructed to exile cards from their library “until” a certain event occurs, that player exiles those cards one at a time. If that player is an opponent, The Heron Moon’s ability will trigger that many times.