Select.Sum solution