Add voucher count API.
Export on the model side.
Fix (and test) idempotence in the voucher issuing API.