Maybe I'm missing something about the desired data, but why not just do something like:
git shortlog -s | grep "My Name"
This shows how many commits you've made on a repo. Omit the grep to see everyone's counts.