add script to compute basic source code metrics