public static function count(Array $body)
    {
        $instance = new static;
        $params = $instance->basicElasticParams();
        $params['body'] = $body;

        $response = $instance->getElasticClient()->count($params);

        return intval($response['count']);
    }