NXP-15193: take in account number of shards and replicas at the setting level