Fix get course length for new EdX URLs