Changed from <QVector>.length() to <QVector>.count()