added date and null types, dates are also summarized by min and max.