you can do listOfLinks.size() inside assertion