(simulator) Add support for new number of frames argument