autotests: Fix windowquadlist with Qt 6
In Qt 6, container.count() returns a qsizetype, on the other hand expectedCount is int. That type difference makes QTEST panic.
In Qt 6, container.count() returns a qsizetype, on the other hand expectedCount is int. That type difference makes QTEST panic.