On one of the walls in the dip where the secret passage descends, there is a tally adding up to 23. From this, it could be inferred that the Hero of Kvatch was imprisoned for 23 days before their escape.