Need Help with a counter based off a Button connected to a relay

Which code are you referring to?
If it’s the code in post #21 then, as I explained before, it doesn’t work because you can’t put a BLYNK_WRUTE(vPin) callback function inside another function.

Maybe you should take a look at topics like this one:

or this one:

Pete.