Determination of the number of AGVs in a semi-automated container terminal