cal num of lines in a whole directory