Tree nodes can now be multiple types for the purposes of counters
moved stack statistics getter to IStack