add array stats to relevant tags