DRILL-1619: Fix running and output type for count aggregate function
Raise an exception while performing aggregate functions on boolean data type