Design a Curious Calendar
Somewhere in the universe, the citizens of a planet are debating how they should build their calendar. There are two opposing factions, and the only thing they can agree on is that each month must have a square number of days. That is, if a month has 5 weeks, then each week is 5 days long and the month has 25 days total. Months can be different lengths, just like they are for us.

Knowing all of this, how many days are there in the year of this planet?