Remove key if count hits zero