gets the number of items in a group
$$("mychart").group({ by:"year", map:{ sales:["sales","count"] } }); // displays the total sales for each year