How to access to DrawCalls variable from scene script?

I have a scene and I wish to see its DrawCalls statistics when it played out from Unity3D (in web plug-in) for on-line material optimising procedures.

As i understand, I need access to DrawCalls variable or this is completely impossible cause this is only Unity3D modeler internal stats stuff?

How I can get DrawCalls variable with SCharp or Javascript? Cannot find answer in wiki and this forum too?

Show me the way, please!

As far as I know it’s an editor only class. You cannot see it in the plugin.

using UnityEditor;
int draws = UnityStats.drawCalls;

You can also get the other information listed in the stats page by calling the other properties in the UnityStats object.