I took a deeper look at the code, and reread you comments here. I'm fairly sure I understand the direction you're going, and I think I can make it happen with the tallyMark counter concept with some changes to your code. I don't have much more time right now, but I'll get to work on it soon.
Unfortunately I cannot sign up. It's giving me an error when I try to.
I don't use any other social media than this, so I will contact you through Hive.
Thank you for the diversion. It's something to do while I'm cooped up at home.
RE: Having problems with the code