Add to output the size of graph and model