Assuming timing starts when selecting magic type, while timing ends when "Stage Clear" appears on screen after defeating the stage boss.