Custom count based on room name

Hello everyone,

First time using dynamo to extract a schedule for my current project involving counting of toilet modules based on type (pbu or not). Dummy schedule is included and the idea is to convert that schedule into something on the excel sheet.

I am using Room to identify types of toilet module, and have created parameters to sort them by type (pbu or not). However, instead of having the names being inserted vertically down, is it possible to have a script where I can count the number of toilet by type and by name?

In short, instead of multiple rows for Level 1, can I have it in a single row or two?