Guesty does support length of stay as a condition for taxes - to make sure the tax is applied to the right reservations (otherwise, the tax will apply to all of your reservations).
Read about adding this condition to your default taxes (relevant for all or most of your listings) or to a tax set up on a specific listing.