Maintain unit count between deployments

When deploying, there is now a check to see how many units there are
from previous deployments. The same amount of units are then deployed
for the current deployment.