Change size for length for getTotal