Update counttable when a link is added.