Fix for bad count of lic