to_i for aggregate values