Create cookie counter