How many days are there in the Papers Please story?

There are 31 official days and then there is a "performance review" on day 32. The game ends after that, but you can continue in endless mode.