bulk: ensure hint is initialized.
write-command: check for empty insert.
write-command: set n_docuemnts on init.