Check number of generated links.