Added "GetInstanceCount" function to "IDeployment".