Added query statistics