/** * @return int */ public function count() { $result = $this->object->count(); return $result === $this->object ? $this : $result; }