Your code should set a boolean flag to true when the count becomes 100 then in loop(), if the boolean is true turn on the LED, save the start time and set the boolean to false. Each time round loop() test whether the period has elapsed and, if so, turn off the LED