Deletes the documents of docIds as one atomic change; returns how many this call deleted, skipping documents already deleted and repeated docIds. When one of them fails the checks of delete, nothing changes.