Sorry, I'm afraid I send you a personal email despite answering in the group...
As I said, I'm more or less comfortable with variables, shouldn't be a problem for me if properly oriented... I don't think I need a step by step guide.
I've thought on a workaround with a file that already have a file count: copy the file to a variable, delete the file and recreate the file with the same name copying all but the last line... I don't think it's very efficient... As I said, would be useful for me to be able to know the number of lines in a file.
I think I could go to the rest with that.
Thanks again.