Add count method to DataSet and implement CountOperator