add average and add some data count