added support for grouping by constants and allowing projections based purely on constants.  This is how Count is implemented in the agg framework.
fixed issue with counts getting recognized but not handled properly.