added slc which counts number of lines in a file