Query added to stats widget