Added dimensions support to stats API