The GetListCount method retrieves the total number of Web pages listed in the Content Linking List file.
NextLink.GetListCount( listURL )
This method returns an integer.
A more complete example is at the bottom of Content Linking Component.
--- NextLink_GetListCount.asp ---
<%
Dim objNextLink
Set objNextLink = Server.CreateObject("MSWC.NextLink")
count = objNextLink.GetListCount("/data/nextlink.txt")
If 1 = count Then
Response.Write "There is " & count & " item in the list.<BR>"
Else
Response.Write "There are " & count & " items in the list.<BR>"
End If
%>