[#1439] Fix CompositeByteBuf.nioBufferCount() to return the correct number