scripting:api:undo-items:count