when tag count reaches 0 delete tag and decrement count