Statistics for Schema Based XML compression