something rambly about counting and unique ids. brief regex cheatsheet