she knew how many steps there were between the temple and the cellar , between the cellar and the subcellar , she had even counted the steps on the cramped winding stair that spiraled up into the garret and the rungs on the steep wooden ladder that ascended to the rooftop door and the windy perch outside .