[PATCH 19/58] buildman: Move counting of commits into a function