How many days per year do I have to stay in Taiwan?

There are no requirements. However, you must stay for more than 183 days per year in order to be eligible for many benefits such as: tax resident treatment and a pathway to permanent residence.