Send the command count to our callback method, as we'll be truncating
the buffer (and resetting to zero) by default