You cannot depend on count actually being the number of file descriptors in the message.  As I mentioned in the other PR, it doesn't work that way on OS X (and it's probably the same on FreeBSD) - it reports the *original* number of file descriptors, which may be more than what fits in the receive buffer.