Added query statistics to view