put number of entries into the link