I don't think counting commits is a good metric, because I know if it were me, I would start splitting my commits up into trivial changes in order to meet the count ("added comment", "added line break", etc).
It supports going by issues, which is better, but how about counting additions/deletions?