Gilbert Company leased office space for a noncancelable term of five years with a five-year renewal option. Before the company took possession of the space, it paid for leasehold improvements that are expected to have significant value at the end of five years. What is the number of years in the lease term as determined at the beginning of the lease?