static int count ( int n ) {
  return ( int ) ( - 1 + Math . sqrt ( 1 + 8 * n ) ) / 2 ;
}

static int count ( int n ) { return ( int ) ( - 1 + Math . sqrt ( 1 + 8 * n ) ) / 2 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (binary_expression left: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (unary_expression operand: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (decimal_integer_literal) right: (binary_expression left: (decimal_integer_literal) right: (identifier)))))))) right: (decimal_integer_literal)))))