Added counting of variance
Added counting of variance