get number of nodes from deploymentConfig