ALM-701 add number option to limit deleting couchdb documents