Change from count() to size() with Qt containers


As the preferred method. Potentially may be deprecated similar
to QString/QByteArray

Fixes: QTBUG-107068
Change-Id: I0cfc9d7f8e2e450849f1d22c5b98aa353748ecf6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
commitc3a265592d7d4709998e5bf12d14a143aa0bf14f
parenta83541566473ce7f362eced21d12ac245a28f431
authorJuha Vuolle <juha.vuolle@insta.fi>
committerJuha Vuolle <juha.vuolle@insta.fi>
commit timeTue, 4 Oct 2022 08:11:52 +0300