record stats about a dataset