original_string: public function get_values_count($table, string $field = null, array $where = [], $order): array
    {
      return $this->count_field_values($table, $field, $where, $order);
    }
code: public function get_values_count($table, string $field = null, array $where = [], $order): array
    {
      return $this->count_field_values($table, $field, $where, $order);
    }
code_tokens: public function get_values_count ( $ table , string $ field = null , array $ where = [ ] , $ order ) : array { return $ this -> count_field_values ( $ table , $ field , $ where , $ order ) ; }
docstring: Return a string with the sql query to count equal values in a field of the table.
  
  ```php
  \bbn\x::dump($db->get_values_count('table_users','name',['surname','=','smith']));
  /*
  (string)
  SELECT COUNT(*) AS num, `name` AS val FROM `db_example`.`table_users`
  GROUP BY `name`
  ORDER BY `name`
  ```
  
  @param string|array $table The table's name or a configuration array
  @param string $field The field's name
  @param array $where The "where" condition
  @param array $order The "order" condition
  @return array
docstring_tokens: Return a string with the sql query to count equal values in a field of the table .