added counter for extrusions