original_string: public static function count(Array $body)
      {
          $instance = new static;
          $params = $instance->basicElasticParams();
          $params['body'] = $body;
  
          $response = $instance->getElasticClient()->count($params);
  
          return intval($response['count']);
      }
code: public static function count(Array $body)
      {
          $instance = new static;
          $params = $instance->basicElasticParams();
          $params['body'] = $body;
  
          $response = $instance->getElasticClient()->count($params);
  
          return intval($response['count']);
      }
code_tokens: public static function count ( Array $ body ) { $ instance = new static ; $ params = $ instance -> basicElasticParams ( ) ; $ params [ 'body' ] = $ body ; $ response = $ instance -> getElasticClient ( ) -> count ( $ params ) ; return intval ( $ response [ 'count' ] ) ; }
docstring: Returns match count
  
  @param array $body
  @return integer
docstring_tokens: Returns match count