problems with sqlcounter