AVR-C turning led off after number of blinks with interrupts
Try something like this

     ISR(TIMER1_COMPA_vect)
     {   
           if(led_blink_count &lt; 10)
           {
                //Toggle the led state
                led_blink_count++;
           }             
     }


Have the timer trigger at the frequency you want the led to blink at.
Set led_blink_count to 0 to restart the blinking.