[PATCH 31/58] buildman: Create a function to get number of built commits