DatasetSummary function

Create a dataset summary (internal method).