public function count($field = '*') { return (int) $this->value('COUNT(' . $field . ') AS tp_count', 0); }