getting stats of the data so far