ti fai una SELECT Max(CONTATORE) FROM TABELLA

e ci aggiungi 1