Added ability to store stats for index and column statistics. added quick implementation of hyperloglog