help with variable?

Move the "unsigned long secondsCounter = 0;" to before the void setup().

Also I think you have a missing ")" in one of your statements further down.