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

Hope this can help you :