add script to calculate LoC stats in a repo