The built-in task statistics returns the number of nodes and links in the specified model.
statistics MODEL;