count-contributions.sh: add script to count number of commits