Piercing device comprising a separate compartment or unit for used piercing elements