add like counter for sqldialect