Ajax SQL, click counter for the button