Removed terminal output of links; added display of count of links to expand