create counter and pull from DB