count log file lines