glpi: Fix license count

License count should work:

all '*' are replaced by '%'
if vendor or version are empty, it's equal to '%'