adds a 'counter' object prior to phantom starting. Process ends when counter object length === 0