shouldn't we validate here that there is not a `datatype` (or the `datatype` is a counter) present in the properties? Otherwise you can set `datatype` on buckets under the default-type.