It's a much better analogy.
Agreed ...
we don't know how many encounters Larian intended for us to fight before resting.
True we werent told ...
But we kinda do know, since after some time our characters starts to complain that they want to rest ... observe that for a while and you can discover some pattern there.
My personal guess is that its tied to real time and not amount of encounters at all.