It is ultimately up to the Immigration Officer to determine how long a traveller can stay in the country. Ideally, visitors can be stamped in for a maximum of 90 days at no cost. I was stamped in for the exact duration of my trip.