CNT returns the total number of files in a list created by the proc SRCH, and also the number of the next file in that list. It does not modify the file in any way. CNT is intended to be used in a proc to provide the calling proc with information about the file. For interactive use, use the TCL procedure COUNT.