Measuring and ranking by commits is a rather useless metric. You can always inflate your commits as well.
But there are many other things you can inflate as well, especially your social media ranking. This metric is as good as any. If you use them all you could actually end up with a valid conclusion.