/** * @param string $json_argument_array * @return string * @throws BaseAjaxArgumentMissingException */ public static function count_users($json_argument_array) { $argument_array = json_decode($json_argument_array); if (is_array($argument_array)) { $string = $argument_array[1]; return User_Wrapper::count_search_users($string); } else { throw new BaseAjaxArgumentMissingException(); } }