Rename assembly sheets to assembly name - multiple sheets per assembly


I am pretty new to dynamo, but I can already see the power of it!
Only making these scripts is not something what suits me …

i have used the dynamo script from this item (Rename assembly sheet to assembly name)

This works good. But some of assemblies have multiple sheets - and then this script does not work anymore.

I would like to have this
Assembly name -> Sheetname
And when there are multiple sheets in an assembly it should add something like a, b, c tot it or -1, -2, etc

Does anyone know how to do this?