Collecting Eggs

I have the fallowing script attached to my charactor it is designed so that I can collect eggs and show the amount on the screen of how many I have picked up. The script works good but what im wanting is to place a empty game object near my wagon where the eggs are going to be droped that reads how many eggs have been collected and when the number is lets say 20 and I collide with that spot it loads the next level. Im not shure how to get it so that it can read the number of eggs i have got and determin weather to load next level.

var eggDisplay : GUIText;
var egg = 0;
var eggsToWin = 20;

function Start() {
    DisplayAmount();
}

function DisplayAmount () {
    eggDisplay.text = ""+ egg + " eggs";
}

function OnTriggerEnter(other : Collider) {
    if (other.CompareTag("egg")) {
        egg++;
        DisplayAmount();
        Destroy(other.gameObject);
    }
} `

When you want to load the next level only when the player has egg equal to eggsToWin, you will simply have to say:

if(egg == eggsToWin){
    //Load the next level. 
}

Your end script might look something like this:

var eggDisplay : GUIText;
var egg = 0;
var eggsToWin = 20;

function Start() {
    DisplayAmount();
}

function DisplayAmount () {
    eggDisplay.text = ""+ egg + " eggs";
}

function OnTriggerEnter(other : Collider){
    if (other.CompareTag("egg")){
        egg++;
        DisplayAmount();
        Destroy(other.gameObject);
    }
    //Here we do the check to see if the player hit the trigger of the Wagon:
    if(other.CompareTag("Wagon")){ // Or whatever the tag might be.
        if(egg == eggsToWin){
            Application.LoadLevel(LevelToLoad);
        }
    }
}

So basically you check if the number of eggs are equal to the desire amount.