Number of event

Hello,
Can someone tell me how could I display number of event in 2D graph?
Thanks.

The “TEXT” or the “TEXTnn” drawing option?

Those are histograms (for histograms root automatically display number of events), but I need it for graph (for some function y=f(x)).

“A TGraph2D can be also drawn with ANY options valid to draw a 2D histogram.”