Better count

The previous count wastes too much resources on projects with a huge number of commits, while giving the right parameters to rev-list will do a better job for the count we need.