adding link pagination position and count