Add docs for statistic

I didn't found any documentation for writing docs so I hope I made it properly :)