set build number to the number of commits in gh pages