Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
p = Plot[Sin[x], {x, 0, 20}]-Graphics-Total[Cases[p, x_Line :> Length[x[[1]]], Infinity]]0All recipes · Function reference · Use this from an MCP client