Creating customized DB schedule

Hi all, I am new to dynamo. I tired to create a customized DB schedule as shown below sample file. Please note that room name, lighting fixture type and count should be based on circuit number.


I tried to make it in dynamo but I can get room name and light fixture type also light fixture type and circuit number but we need all together please refer the attachment for excel output, dynamo and Revit file.
DB Schedule 11
DB Schedule 3
If anyone having the solution it will be really a helpful one. Thanks in advance.

I am also keen on this, Anyone with some fantastic ideas out there?