git rev-list HEAD --count gives a much more meaningful count of commits