check that git supports --count with rev-list