Method for counting commits between two refs
See 1d81842a for the details and issue https://gitlab.com/gitlab-org/gitlab-ce/issues/12619 that lead to me adding these changes.
See 1d81842a for the details and issue https://gitlab.com/gitlab-org/gitlab-ce/issues/12619 that lead to me adding these changes.