Render stats window data saved in a txt file.

Is there a way to save fps ,draw calls, tris etc etc.I am making a demo on unity and i want to measure those things and save them to a txt file.

verts ko kis trha come kaya jata ha,verts ko kis trha come kari