Return number of builds when building