can we use something like `git rev-list HEAD --count --first-parent` to get a monotonically increasing number?