diff --git a/src/Builder.php b/src/Builder.php index c4fce48..aa183d1 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -182,4 +182,15 @@ private function transform($value) return $value; } + + /** + * Get the total number of results from the engine. + * + * @param mixed $results + * @return int + */ + protected function getTotalCount($results) + { + return $this->engine()->getTotalCount($results); + } }