Perl script for adding the number of lines for all files in a folder