'Run a test only if the client is connected to a replica set that has
`count` secondaries.'

def require_secondaries_count(self, count):

    sec_count = (0 if (not self.client) else len(self.client.secondaries))
    return self._require((sec_count >= count), ('Need    %d    secondaries,    %d    available' % (count, sec_count)))
