I had some initial trouble getting it to work, which turned out to be something quite simple. The counter variable was in ROM instead of RAM, so incrementing it had no effect. Doh! After realizing that faux pas, I relocated the variable, and all is working!
One thing I did learn... the 6502's NMI only pushes PC and the condition code register to the stack, while the 6809's NMI pushes all registers to the stack. This behavior doesn't affect the demo, but it's interesting to note.