Remove redundant escaping from sqlcounter
Escape %s in sqlite counter queries