Add numberOfNodes to Config object