public function countTotalLogType($logtype)
    {
        $count = 0;

        if (isset($this->log_sections['Logs']) && is_array($this->log_sections['Logs'])) {
            foreach ($this->log_sections['Logs'] as $item) {
                if (isset($item['logtype']) && $item['logtype'] == $logtype) {
                    $count++;
                }
            }// endforeach;
            unset($item);
        }

        return $count;
    }