glDrawElements count question.

Im a little confused over the count parameter in the glDrawElements function. Say i am rendering 2 triangles, but i have an index of only needing 4 points. Would the count be, 2 for the number of triangles, 4 for the number of indexed points? Or 6 for the total number of points actualy rendered??? This is quite confusing to me, even though i know it shouldnt be.

Count is the number of indices in the index array.