send query stats