Repeated items in list

Could something like this work for your workflow? Just replace the “A” in the code block with the number one?

This is based off of @jostein_olsen’s work:

This is what I got:

2 Likes