$query = new Phalcon\Mvc\Model\Query("select *,count(FamilyUsers.id) as count from Family,FamilyUsers where Family.id=FamilyUsers.family_id group by family_id order by count limit 15",$this -> getDI());
$power_family = $query -> execute();
Could you tell me how can I get a query out value?