added row count to auto simulator constructor