Utility widget to display draw calls & polygon count?

I find it really tiresome that framerate, draw calls and polygon count is hidden under three separate console commands.

Is there any way to access the data from these console commands and put them into a custom editor blutility or whatever they’re called?