Driver doc should include information on how to create counter and unlogged batches.
https://docs.datastax.com/en/developer/nodejs-driver/latest/features/batch/