feat: move query stats to backend and add missing types

© by @milho001

Merge request reports

Loading