Added number of items per group in output