In the trapezoidal formula, how many times is each interior value f(xk)f(x_k)f(xk) counted, that is, those that are not at the endpoints?