Don't reinvent orddict:update_counter/3.