Added license count to output filename