added quantity to licences