made changes to show instance count and setinterval id to stop auto creation of nodes and instances