def METHOD_NAME(organism):
    samples = organism.sample_set.filter(has_raw=True, technology="MICROARRAY", is_processed=True)
    if samples.count() == 0:
        logger.error("No processed samples for organism.", organism=organism, count=samples.count())
        return None
    platform_counts = (
        samples.values("platform_accession_code")
        .annotate(dcount=Count("platform_accession_code"))
        .order_by("-dcount")
    )
    return platform_counts[0]["platform_accession_code"]