added $match query support with groupBy()