This is a re-ask of this question
https://community.atlassian.com/t5/Bitbucket-questions/How-can-I-get-the-total-number-of-commits-across-all-our-team-s/qaq-p/136275
the answer posted there no longer works with the current bitbucket APIs