Count number of available parents before creating dependent jobs.