$ for y in {2002..2007}; do \
n=$( git log | grep ^Date: | grep $y | wc -l ); \
echo "Number of commits in $y: $n"; \
done
Number of commits in 2002: 3094
Number of commits in 2003: 3283
Number of commits in 2004: 3851
Number of commits in 2005: 6006
Number of commits in 2006: 8431
Number of commits in 2007: 9526
-Hans