Added query counter to admin footer. Used for debug purposes.