Add bash script for revision stats