Now supports group-by or not statistical facet. Updated comments