The number of executors running by default is the number of executors set to the spark.dynamicAllocation.minExecutors. To change this, you need to change the property spark.dynamicAllocation.initialExecutors:
val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.dynamicAllocation.initialExecutors = <number of executors>