Determining the component number of links corresponding to lattices