Controller/SearchController.php
public function searchtotal(Search $search)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['search' => $search], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/search/total', $parameters);

        return $result;
    }
public function searchtotal(Search $search)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['search' => $search], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/search/total', $parameters);

        return $result;
    }
Get total hit count for media search.

in QBank

@param Search $search Search parameters