Given a monorepo it's useful to have git-count-revs return only the revs affecting a particular folder.
Ie:
$ cd mymonorepo/service-a
$ git rev-list HEAD --count
1024 # all revs in monorepo
$ git rev-list HEAD --count -- .
17 # only count revs affecting service-a