Looking back on this thread I am not clear what the requirement is.
I have setup a counter using a 7 seg LCD. This can count up to 9 and back down to 0 if buttons, or in this case a relay is fired (don't worry about this bit its just a button for the moment)
If the count can only be between 0 and 9 as you say
What i need is for another Pin (11, as this is the only one i have left) to go HIGH for 3 seconds if the counter reads 0-9. If the counter is over 9 for the pin not to go HIGH.
then how can it ever not read 0-9 ?
What values can the count hold ?