update File::countLines()