How licenses are counted