public function total() { $total = 0; foreach ($this->_logs as $key => $value) { $total += count($value); } return $total; }