Fix minor bug

If two imports statements had the same named import, the usage counter
of the latter was never increased.