Spawn random amount of gameobjects

I have a script which spawns a gameobject every fourth second, but my problem is that it only spawns one object, I would like to spawn a random amount between two numbers for example 1 and 5. How would I do this?

My Script.

var Mines : Transform;

private var Timer : float;

function Awake () {
	Timer = Time.time + 4;
}

function Update () {
	if (Timer < Time.time) {
		Instantiate(Mines, transform.position, transform.rotation);
		Timer = Time.time + 4;
		Debug.Log("Spawned Mine");
	}
}

Random.Range (1,6)

you probably want to do something with transform.pos or they’ll all spawn at the same place

function Update() {
var randNum = Random.Range(0, 10); // this will return a number between 0 and 9

for (var i = 0; i < randNum; i++){
 Instantiate(Mines, transform.position, Quaternion.identity); 

//other stuff
}
}