Add support for GroupBy and Count reduction, fixes #24, fixes #25

GroupBy only supports one grouping parameter right now