Add allocation counts by node class to the trace summary