Weird behaviour of sqlcounter / dailycounter