OrderBy(Project(Extend(Extend(AggregationJoin(Aggregation(??agg1: ?genre, SAMPLE, {}, G1=Group((?genre), BGP( ?s ?genre))), Aggregation(??agg2: ?genre, COUNT, {}, G1)), ?genre, ??agg1), ?count, ??agg2), {?genre, ?count}), (desc (?count)))