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