Validate number_of_replicas