Maybe rename these to num_border_links and num_adjacent_links?  At first reading I thought these were going to be the list of links themselves.