Load Next Level when all turrets are dead

I really need some help. I need my Game to load level 2 when all the turrets are dead. Im followed the Tornado Twins Tutorials and I finished them. Im using Java Script, I have 28 Turrets, when they are all dead i need it to Load Level 2 (Application.LoadLevel(3)). Please help me make a simple script that can do, also, i need this for my other levels.

//Movment and Target
var LookAtTarget:Transform;
var damp = 1.7;
var ememy : Transform;

//Shooting
var bullitPrefab:Transform;
var savedTime=0;
var curShoot = true;

function Update () 
{
  if(LookAtTarget)
  {       
         if ( Vector3.Distance( ememy.position, transform.position ) < 18 )

         var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position);

         transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp);

         if(curShoot)
         {     
                var seconds : int = Time.time;
                var oddeven = (seconds % 2);

                if(oddeven)
                {     
                       Shoot(seconds);
                }
         } 
  }
}     

function Shoot(seconds)
{    
  if ( Vector3.Distance( ememy.position, transform.position ) < 15 )
  {
       if(seconds!=savedTime)
       {     
              var bullit = Instantiate(bullitPrefab ,transform.Find("SpawnPoint").transform.position , 
                                              Quaternion.identity);
              bullit.gameObject.tag = "ememyProjectile";
              bullit.rigidbody.AddForce(transform.forward * 1600);  
              bullit.rigidbody.AddForce(transform.up * 45);
              savedTime=seconds;
       }      
   }
 }

Do you have a counter variable that stores the number of turrets that are alive? If so, this script could work: (javascript)

 var turrets : int; // This stores the number of turrets that are alive.
                        // You can input initial number of turrets for this script in the editor

 function killTurret() // Call this function to reduce the number of living turrets
 {
      turrets--;

      // This checks if this was the last turret to kill, if so, it loads another scene
      if (turrets >= 0)
      {
           Application.LoadLevel(3);
      }
 }