count line for files