count code line number in a dir.