public function getCountWhere($Wheres = '')
{
if (is_array($Wheres)) {
$this->SQL->where($Wheres);
}
$Data = $this->SQL->select('ConversationID', 'count', 'Count')->from('Conversation')->get();
if ($Data->numRows() > 0) {
return $Data->firstRow()->Count;
}
return 0;
}