/cc @xbugos In controller there is a endpoint for statistics, maybe you can look into it how it works.