add missing count of instances per tag