Return correct number of file descriptors.