def count_to_write(link_counters):
    """Find the to_write count in the counters returned by a CommunicationLink."""
    for processor in link_counters.values():
        if 'to_write' in processor:
            return processor['to_write']
