How can i create block with any attribute to self count the block?

I want to insert block with a number ex. -Q1 and next time that i insert same block that attribute will be -Q2