The GetListIndex method retrieves the index number of the current item in the Content Linking List file.
GetListIndex(listURL)
The GetListIndex method returns an integer index value specifying the current page's position on the file list. The index number of the first item is 1. The method returns 0 if the current page is not in the Content Linking List file.