DataRelationship::select(['id', 'name', etc...])->whereLinkId($link->id)->whereHas('user')
->addSelect(
DB::raw( '(select count(id) from clubs where data_relationships.id = clubs.data_relationship_id) as clubs_count' )
)->orderBy('clubs_count', 'desc')->get();