Improve counting number of builds per job