3 ms·Or just `names[name] += 1` if you're using a Counter.by orf 10y agoOr just `names[name] += 1` if you're using a Counter.ferrari8608 10y agoWhich would of course be the optimal solution. I always forget about that object.