I have an issue getting the actual number of sheets(in a list) from the instances of titleblocks in the project. I have used the Get Sheet Elements From View node, but it returns a null list. Any ideas why?

I managed to solve the problem by skipping the Get Sheet Elements From View node and replacing it with the TitleBlockFromSheet. Then I used the sheet list directly (this is what I was trying to get in the first place) .