The count needs to be binary to send it on the wire

.. also, some fixes to the output, no need to create a binary, just make a iolist