Set number of shards and replicas