average cost investing