Re: sql counter is not working