Create counter.sql