How do I determine how many licenses to purchase for the Enterprise edition? Is it the number of terminals or the number of users?

Please purchase by the number of active users.