Add weight of node based on number and importance of links