Your response implies that structured data, including numbers, are a somehow a problem for CouchDB, but that's just not the case.
Validating data is something you can and should do before saving it in the DB and with CouchDB that would be done with a "design document" using javascript.
In this case validating that user input is a positive number or a zero should be done on the client side before even submitting the data as well.