Sorry, copy/paste/edit error. Fixed it in my question.
I was just copying @dmai upsert example exactly as provided. I don’t know why he used it.
Nonetheless, the results stayed the same as the original and the upsert did not increment the count.val as the @dmai stated it should. Not sure what I missed here. I can retry again after a little while to see if I had another typo somewhere in my code.