As LED is used for single bit output, you are reading back its value to toggle it and you are using a PIC18, LED should be #defined as
#define LED LATB.B0
to avoid possible issues with the read-modify-write effect.
Also the definition of count should be modified:
volatile unsigned int count=0;
The 'volatile' qualifier tells the compiler that the ISR can modify the variable in the background, so it checks the actual variable in the if() in main() rather than optimising the check away or using a temporary copy of count within the loop.
The unsigned qualifier is because there is no need for negative counts, and without the wasted sign bit it can time up to just under 11 minutes.
Some other refinements that would be needed in a larger program would be to disable interrupts in main() while count is being checked or updated to prevent problems if main() is interrupted when its accessing count right in between the accesses to its high byte and its low byte, and to check count with if(count>1) so that if some other part of the program took longer than 10ms, the check wouldn't fail because count had already gone past 1.