group('owner_user_id')->field('owner_user_id,count(contacts_id) as count')->order('count desc')->where($whereArr)->select(); return $count; } }