elgg_list_river from metadata ?

Hello

 i get this from Ura soul's related item plugin :

$options = array(
                'order_by' => 'match_count DESC, e.time_created DESC',
                'group_by' => 'e.guid',
                'metadata_names' => 'tags',
                'metadata_case_sensitive' => FALSE,
                'metadata_values' => $tags,
                'selects' => array('count(msv.string) as match_count'),
               
            );

echo elgg_list_entities_from_metadata($options)

the problem is there is no elgg_list_river_from_metadata($options) , can someone help me to make a custom query or give other solution ?