i Got it with other way ,wirth the "str_word_count" , the full code is .
public function GetDuplicates($sort_by="email", $order="asc") {
$fields = array(
"id", "client_id", "contact_type", "first_name","last_name", "email");
$result = $this->Record->select($fields)->from("contacts")->
where("contact_type", "=", "primary")->
order(array($sort_by=>$order))->fetchAll();
// Add emails to a long string
$phrases = "" ;
for ($i=0; $i<count($result); $i++) {
$phrases .= $result[$i]->email ." " ;
}
$counts = array_count_values(str_word_count($result, 1, '0123456789àáãçéèñ.-_@:?!%'));
arsort($counts);
return $counts ;
}