Implemented the spawn counters