added avarage to .count detail